Make syslogd.c, init.c, and update.c compile error/warning free under both libc5 and libc6.
-Erik
This commit is contained in:
		| @@ -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); | ||||
| } | ||||
|  | ||||
| /* | ||||
|   | ||||
		Reference in New Issue
	
	Block a user