From d469f44e152c1f88cade5b346b861ff755b64b16 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 10 Nov 2014 01:00:37 +0000 Subject: [PATCH] filesys: fix gcc warn/errors --- Kernel/filesys.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.34.1