summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:05:37 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:05:37 -0500
commitf77808ea5c16e8991c7f93053adb9a456b41a24e (patch)
tree503f90b10e840eb42b4c06f6a20abaed4d23a143
parentb0126834b834b58e44765d1fdf1303c4c4981478 (diff)
downloaduserland-f77808ea5c16e8991c7f93053adb9a456b41a24e.tar.gz
userland-f77808ea5c16e8991c7f93053adb9a456b41a24e.tar.bz2
userland-f77808ea5c16e8991c7f93053adb9a456b41a24e.tar.xz
userland-f77808ea5c16e8991c7f93053adb9a456b41a24e.zip
usr.bin/nice: make buildable with libbsd
-rw-r--r--usr.bin/nice/nice.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.bin/nice/nice.c b/usr.bin/nice/nice.c
index de5fe5b..8d54672 100644
--- a/usr.bin/nice/nice.c
+++ b/usr.bin/nice/nice.c
@@ -29,24 +29,12 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1989\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)nice.c 5.4 (Berkeley) 6/1/90";
-#endif
-__RCSID("$NetBSD: nice.c,v 1.15 2008/07/21 14:19:24 lukem Exp $");
-#endif /* not lint */
-
#include <sys/time.h>
#include <sys/resource.h>
#include <stdio.h>
#include <stdlib.h>
+#include <bsd/stdlib.h>
#include <string.h>
#include <limits.h>
#include <locale.h>
@@ -57,7 +45,7 @@ __RCSID("$NetBSD: nice.c,v 1.15 2008/07/21 14:19:24 lukem Exp $");
#define DEFNICE 10
-static void usage(void) __dead;
+static void usage(void);
int
main(int argc, char **argv)