diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-20 10:02:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-20 10:02:32 +0000 |
commit | 1a365ced6561c1c0459e52c8f1fe3d340c969f68 (patch) | |
tree | 089c52f9b9442ef9b38bbf0d45c78ff6324b8695 /usr.bin/renice | |
parent | a44decc3ab1973b21b389355a9c4cd570002030e (diff) |
Wall
Diffstat (limited to 'usr.bin/renice')
-rw-r--r-- | usr.bin/renice/renice.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/renice/renice.c b/usr.bin/renice/renice.c index 1bf825af4f5..54a53455ab3 100644 --- a/usr.bin/renice/renice.c +++ b/usr.bin/renice/renice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: renice.c,v 1.2 1996/06/26 05:38:27 deraadt Exp $ */ +/* $OpenBSD: renice.c,v 1.3 1997/06/20 10:02:31 deraadt Exp $ */ /* * Copyright (c) 1983 The Regents of the University of California. @@ -41,20 +41,24 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)renice.c 5.3 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$OpenBSD: renice.c,v 1.2 1996/06/26 05:38:27 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: renice.c,v 1.3 1997/06/20 10:02:31 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <stdio.h> +#include <stdlib.h> #include <pwd.h> +int donice __P((int, int, int)); + /* * Change the priority (nice) of processes * or groups of processes which are already * running. */ +int main(argc, argv) char **argv; { @@ -108,6 +112,7 @@ main(argc, argv) exit(errs != 0); } +int donice(which, who, prio) int which, who, prio; { |