Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
This commit is contained in:
@ -128,6 +128,5 @@ int dmesg_main(int argc, char **argv)
|
||||
exit(FALSE);
|
||||
klogctl_error:
|
||||
perror("klogctl");
|
||||
exit(FALSE);
|
||||
|
||||
return(FALSE);
|
||||
}
|
||||
|
@ -329,5 +329,5 @@ extern int fbset_main(int argc, char **argv)
|
||||
/* Don't close the file, as exiting will take care of that */
|
||||
/* close(fh); */
|
||||
|
||||
exit (TRUE);
|
||||
return (TRUE);
|
||||
}
|
||||
|
@ -56,5 +56,5 @@ extern int fdflush_main(int argc, char **argv)
|
||||
perror(*argv);
|
||||
exit(FALSE);
|
||||
}
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ freeramdisk_main(int argc, char **argv)
|
||||
/* Don't bother closing. Exit does
|
||||
* that, so we can save a few bytes */
|
||||
/* close(f); */
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -469,5 +469,5 @@ the -f option to force it.\n", program_name, device_name);
|
||||
*/
|
||||
if (fsync(DEV))
|
||||
die("fsync failed");
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
@ -221,5 +221,5 @@ extern int more_main(int argc, char **argv)
|
||||
#ifdef BB_FEATURE_USE_TERMIOS
|
||||
gotsig(0);
|
||||
#endif
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user