diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-06-19 18:14:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-06-19 18:14:20 +0000 |
commit | a15cd0be34c81f445be6a2c2234ab0d355b71fba (patch) | |
tree | ac3f2319edbd5435588e2399386a2c63f3fdba4a /miscutils/update.c | |
parent | b7362e36a80b639a64da3f662cbd0064038cad8a (diff) | |
download | busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.tar.gz busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.tar.bz2 busybox-w32-a15cd0be34c81f445be6a2c2234ab0d355b71fba.zip |
Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
Diffstat (limited to 'miscutils/update.c')
-rw-r--r-- | miscutils/update.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/update.c b/miscutils/update.c index 14f1d3c20..b86d84e06 100644 --- a/miscutils/update.c +++ b/miscutils/update.c | |||
@@ -28,12 +28,14 @@ | |||
28 | #include <sys/param.h> | 28 | #include <sys/param.h> |
29 | #include <sys/syslog.h> | 29 | #include <sys/syslog.h> |
30 | 30 | ||
31 | |||
31 | #if defined(__GLIBC__) | 32 | #if defined(__GLIBC__) |
32 | #include <sys/kdaemon.h> | 33 | #include <sys/kdaemon.h> |
33 | #else | 34 | #else |
34 | _syscall2(int, bdflush, int, func, int, data); | 35 | static _syscall2(int, bdflush, int, func, int, data); |
35 | #endif /* __GLIBC__ */ | 36 | #endif /* __GLIBC__ */ |
36 | 37 | ||
38 | |||
37 | static char update_usage[] = | 39 | static char update_usage[] = |
38 | "update [options]\n" | 40 | "update [options]\n" |
39 | #ifndef BB_FEATURE_TRIVIAL_HELP | 41 | #ifndef BB_FEATURE_TRIVIAL_HELP |
@@ -109,7 +111,7 @@ extern int update_main(int argc, char **argv) | |||
109 | } | 111 | } |
110 | } | 112 | } |
111 | } | 113 | } |
112 | exit( TRUE); | 114 | return( TRUE); |
113 | } | 115 | } |
114 | 116 | ||
115 | /* | 117 | /* |