]> err.no Git - util-linux/commitdiff
renice: make some functions static
authorFrancesco Cosoleto <cosoleto@gmail.com>
Wed, 24 Nov 2010 22:10:14 +0000 (23:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Nov 2010 11:28:17 +0000 (12:28 +0100)
sys-utils/renice.c

index 879e8bd91a122f28f90ffb7d69769ffbf539befb..f879791d1c25d72ea26c3c4f259cdd3f2197d5a4 100644 (file)
@@ -46,9 +46,9 @@
 #include <errno.h>
 #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;