From: Francesco Cosoleto Date: Wed, 24 Nov 2010 22:10:14 +0000 (+0100) Subject: renice: make some functions static X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22e0d3ec975a632f3704d814eec8bad6b923f24f;p=util-linux renice: make some functions static --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 879e8bd9..f879791d 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -46,9 +46,9 @@ #include #include "nls.h" -int donice(int,int,int); +static int donice(int,int,int); -void usage(int rc) +static void usage(int rc) { printf( _("\nUsage:\n" " renice [-n] priority [-p|--pid] pid [... pid]\n" @@ -141,7 +141,7 @@ main(int argc, char **argv) return errs != 0 ? EXIT_FAILURE : EXIT_SUCCESS; } -int +static int donice(int which, int who, int prio) { int oldprio, newprio;