From a15cd0be34c81f445be6a2c2234ab0d355b71fba Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Jun 2000 18:14:20 +0000 Subject: Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6. -Erik --- update.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'update.c') diff --git a/update.c b/update.c index 14f1d3c20..b86d84e06 100644 --- a/update.c +++ b/update.c @@ -28,12 +28,14 @@ #include #include + #if defined(__GLIBC__) #include #else -_syscall2(int, bdflush, int, func, int, data); +static _syscall2(int, bdflush, int, func, int, data); #endif /* __GLIBC__ */ + static char update_usage[] = "update [options]\n" #ifndef BB_FEATURE_TRIVIAL_HELP @@ -109,7 +111,7 @@ extern int update_main(int argc, char **argv) } } } - exit( TRUE); + return( TRUE); } /* -- cgit v1.2.3