diff options
author | Eric Andersen | 2000-06-19 18:14:20 +0000 |
---|---|---|
committer | Eric Andersen | 2000-06-19 18:14:20 +0000 |
commit | a15cd0be34c81f445be6a2c2234ab0d355b71fba (patch) | |
tree | ac3f2319edbd5435588e2399386a2c63f3fdba4a /update.c | |
parent | b7362e36a80b639a64da3f662cbd0064038cad8a (diff) | |
download | busybox-a15cd0be34c81f445be6a2c2234ab0d355b71fba.zip busybox-a15cd0be34c81f445be6a2c2234ab0d355b71fba.tar.gz |
Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,12 +28,14 @@ #include <sys/param.h> #include <sys/syslog.h> + #if defined(__GLIBC__) #include <sys/kdaemon.h> #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); } /* |