From: Alan Cox Date: Mon, 10 Nov 2014 01:00:37 +0000 (+0000) Subject: filesys: fix gcc warn/errors X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d469f44e152c1f88cade5b346b861ff755b64b16;p=FUZIX.git filesys: fix gcc warn/errors --- diff --git a/Kernel/filesys.c b/Kernel/filesys.c index 63d35beb..5f0e1590 100644 --- a/Kernel/filesys.c +++ b/Kernel/filesys.c @@ -37,7 +37,6 @@ inoptr n_open(char *uname, inoptr *parent) inoptr kn_open(char *name, inoptr *parent) { staticfast inoptr wd; /* the directory we are currently searching. */ - register char *np = name; staticfast inoptr ninode; inoptr temp; @@ -1017,7 +1016,7 @@ static struct mount *newfstab(void) return NULL; } -static struct mount *fs_tab_get(uint16_t dev) +struct mount *fs_tab_get(uint16_t dev) { struct mount *m = fs_tab; int i;