From aee7f58dfcd519d45482e45ab1ce6026c846dc21 Mon Sep 17 00:00:00 2001 From: forsyth Date: Sat, 13 Feb 2010 21:14:07 +0000 Subject: 20100213-2114 --- emu/port/devfs-posix.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'emu/port/devfs-posix.c') diff --git a/emu/port/devfs-posix.c b/emu/port/devfs-posix.c index 1ce6af40..7372f589 100644 --- a/emu/port/devfs-posix.c +++ b/emu/port/devfs-posix.c @@ -750,7 +750,7 @@ fsdirread(Chan *c, uchar *va, int count, vlong offset) struct stat stbuf; char path[MAXPATH], *ep; struct dirent *de; - static char slop[8192]; + static uchar slop[8192]; i = 0; fspath(FS(c)->name, "", path); @@ -951,7 +951,6 @@ static User* newuname(char *name) { struct passwd *p; - User *u; p = getpwnam(name); if(p == nil) @@ -963,7 +962,6 @@ static User* newuid(int id) { struct passwd *p; - User *u; p = getpwuid(id); if(p == nil) @@ -1010,7 +1008,6 @@ newgname(char *name) static User* id2user(User **tab, int id, User* (*get)(int)) { - int i; User *u, **h; h = hashuser(tab, id); -- cgit v1.2.3