summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-02 10:44:57 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-02 10:44:57 -0500
commitd2f4c4ce2165b5ec5a29773fa17aea116865b9dc (patch)
tree6533d3fee6b00d2065dfa8ceb38dd5b495b6c966
parent64e7c98da14a562076ccef7ddb258200f1ea6196 (diff)
downloaduserland-d2f4c4ce2165b5ec5a29773fa17aea116865b9dc.tar.gz
userland-d2f4c4ce2165b5ec5a29773fa17aea116865b9dc.tar.bz2
userland-d2f4c4ce2165b5ec5a29773fa17aea116865b9dc.tar.xz
userland-d2f4c4ce2165b5ec5a29773fa17aea116865b9dc.zip
usr.bin/logname: make buildable
-rw-r--r--usr.bin/logname/logname.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/logname/logname.c b/usr.bin/logname/logname.c
index 77f1009..2883f85 100644
--- a/usr.bin/logname/logname.c
+++ b/usr.bin/logname/logname.c
@@ -29,26 +29,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1991, 1993, 1994\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)logname.c 8.2 (Berkeley) 4/3/94";
-#endif
-__RCSID("$NetBSD: logname.c,v 1.10 2011/09/04 20:29:12 joerg Exp $");
-#endif /* not lint */
-
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <err.h>
-__dead static void usage(void);
+static void usage(void);
int
main(int argc, char *argv[])