From: Alan Cox Date: Tue, 25 Nov 2014 00:34:34 +0000 (+0000) Subject: kn_open: shave off 30 bytes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fe4060ae681d932f94ae78ae7a757c277151c5a8;p=FUZIX.git kn_open: shave off 30 bytes --- diff --git a/Kernel/filesys.c b/Kernel/filesys.c index 971988b0..2ea31512 100644 --- a/Kernel/filesys.c +++ b/Kernel/filesys.c @@ -34,12 +34,14 @@ inoptr n_open(char *uname, inoptr *parent) return r; } -inoptr kn_open(char *name, inoptr *parent) +inoptr kn_open(char *namep, inoptr *parent) { staticfast inoptr wd; /* the directory we are currently searching. */ staticfast inoptr ninode; inoptr temp; + staticfast char *name; + name = namep; #ifdef DEBUG kprintf("kn_open(\"%s\")\n", name); #endif