summaryrefslogtreecommitdiff
path: root/games/adventure/main.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-11-16 04:49:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-11-16 04:49:50 +0000
commitf2273a76226705a4e8f5e015d1835449da4e3242 (patch)
tree9aa8ab3b6fae60c8e2a7a05923b9b6f239d3f864 /games/adventure/main.c
parent3243c629699c25f7f4a576fe1c2f58e274eba8f7 (diff)
Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
and <sys/ttydefaults.h> Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX Pull in <limits.h> where needed Prefer sizeof(var) over MAXFOO or FOO_MAX ok deraadt@
Diffstat (limited to 'games/adventure/main.c')
-rw-r--r--games/adventure/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/adventure/main.c b/games/adventure/main.c
index 54f60eedebc..56318222bc2 100644
--- a/games/adventure/main.c
+++ b/games/adventure/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.19 2009/10/27 23:59:23 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.20 2014/11/16 04:49:48 guenther Exp $ */
/* $NetBSD: main.c,v 1.5 1996/05/21 21:53:09 mrg Exp $ */
/*-
@@ -37,7 +37,6 @@
/* Re-coding of advent in C: main program */
-#include <sys/file.h>
#include <err.h>
#include <signal.h>
#include <stdio.h>