diff options
author | mestre <mestre@cvs.openbsd.org> | 2016-01-04 17:33:25 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2016-01-04 17:33:25 +0000 |
commit | 96c0ba3936c91323465ddc1086d94655a49726b0 (patch) | |
tree | 4a05f8414046a356458034ec2a525718b567fad3 /games/snake/snake.c | |
parent | a2eb8154d629d90444f3800ce2cdb939e4f1f2d3 (diff) |
More cleanup and sorting on header section
OK tb@ and he also pointed out that for consistency with rest of the tree we
should include termios.h instead of sys/ttydefaults.h, where applicable
Diffstat (limited to 'games/snake/snake.c')
-rw-r--r-- | games/snake/snake.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/games/snake/snake.c b/games/snake/snake.c index 62cfcc2ae00..96dad57e9dc 100644 --- a/games/snake/snake.c +++ b/games/snake/snake.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snake.c,v 1.21 2016/01/03 14:38:17 mestre Exp $ */ +/* $OpenBSD: snake.c,v 1.22 2016/01/04 17:33:24 mestre Exp $ */ /* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */ /* @@ -41,9 +41,6 @@ * cc -O snake.c move.c -o snake -lm -lcurses */ -#include <sys/types.h> -#include <sys/ioctl.h> - #include <curses.h> #include <err.h> #include <errno.h> @@ -51,7 +48,6 @@ #include <limits.h> #include <math.h> #include <signal.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <termios.h> |