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:
@ -59,5 +59,5 @@ extern int free_main(int argc, char **argv)
|
||||
printf("%6s%13ld%13ld%13ld\n", "Total:", info.totalram+info.totalswap,
|
||||
(info.totalram-info.freeram)+(info.totalswap-info.freeswap),
|
||||
info.freeram+info.freeswap);
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ extern int ps_main(int argc, char **argv)
|
||||
fprintf(stdout, "\n");
|
||||
}
|
||||
closedir(dir);
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
|
||||
|
@ -69,5 +69,5 @@ extern int uptime_main(int argc, char **argv)
|
||||
LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]),
|
||||
LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2]));
|
||||
|
||||
exit(TRUE);
|
||||
return(TRUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user