summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:14:58 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-03 07:14:58 -0500
commit6ca0477bceb58a0c612da664b3825e81162d2db7 (patch)
tree0a293d2010ca5c3a76bec005d7538f0540941b97
parent80b0d7c42ea2a8a087739df38e496a014582fd60 (diff)
downloaduserland-6ca0477bceb58a0c612da664b3825e81162d2db7.tar.gz
userland-6ca0477bceb58a0c612da664b3825e81162d2db7.tar.bz2
userland-6ca0477bceb58a0c612da664b3825e81162d2db7.tar.xz
userland-6ca0477bceb58a0c612da664b3825e81162d2db7.zip
usr.bin/nohup: make buildable
-rw-r--r--usr.bin/nohup/nohup.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/nohup/nohup.c b/usr.bin/nohup/nohup.c
index d177c51..7b3a9cd 100644
--- a/usr.bin/nohup/nohup.c
+++ b/usr.bin/nohup/nohup.c
@@ -29,19 +29,6 @@
* 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[] = "@(#)nohup.c 5.4 (Berkeley) 6/1/90";
-#endif
-__RCSID("$NetBSD: nohup.c,v 1.15 2011/09/06 18:24:15 joerg Exp $");
-#endif /* not lint */
-
#include <sys/param.h>
#include <sys/file.h>
#include <sys/stat.h>
@@ -54,7 +41,7 @@ __RCSID("$NetBSD: nohup.c,v 1.15 2011/09/06 18:24:15 joerg Exp $");
#include <errno.h>
static void dofile(void);
-__dead static void usage(void);
+static void usage(void);
/* nohup shall exit with one of the following values:
126 - The utility was found but could not be invoked.