summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-20 01:49:36 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-20 01:49:36 -0500
commite417bbfd8fee8217b1c454bbbac970c4fb96fd5b (patch)
treebee46005810d44fdb0242e1970d8e66c616ea945
parent1bc83d3616958ddedb74f3f13e5eb5701f24b2db (diff)
downloaduserland-e417bbfd8fee8217b1c454bbbac970c4fb96fd5b.tar.gz
userland-e417bbfd8fee8217b1c454bbbac970c4fb96fd5b.tar.bz2
userland-e417bbfd8fee8217b1c454bbbac970c4fb96fd5b.tar.xz
userland-e417bbfd8fee8217b1c454bbbac970c4fb96fd5b.zip
usr.bin/tty: make buildable
-rw-r--r--usr.bin/tty/tty.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c
index c5e5e80..8175a04 100644
--- a/usr.bin/tty/tty.c
+++ b/usr.bin/tty/tty.c
@@ -29,24 +29,11 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1988, 1993\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/6/93";
-#endif
-__RCSID("$NetBSD: tty.c,v 1.8 2011/09/06 18:34:57 joerg Exp $");
-#endif /* not lint */
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-__dead static void usage(void);
+static void usage(void);
int
main(int argc, char **argv)