summaryrefslogtreecommitdiffstats
path: root/games/hack
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-09-12 07:01:23 +0000
committermarcel <marcel@FreeBSD.org>1999-09-12 07:01:23 +0000
commit91023474f84283a0de22e622a8a316e32aba28cf (patch)
tree8e680376985dadb260491dcaf78f07cc3957d1cb /games/hack
parent80659aa736cb05e09d0bf3ec7f71959233480f60 (diff)
downloadFreeBSD-src-91023474f84283a0de22e622a8a316e32aba28cf.zip
FreeBSD-src-91023474f84283a0de22e622a8a316e32aba28cf.tar.gz
Move the #include directive up one line and out of the function body.
Diffstat (limited to 'games/hack')
-rw-r--r--games/hack/hack.ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/hack/hack.ioctl.c b/games/hack/hack.ioctl.c
index 6669cea..626fead 100644
--- a/games/hack/hack.ioctl.c
+++ b/games/hack/hack.ioctl.c
@@ -1,5 +1,6 @@
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.ioctl.c - version 1.0.2 */
+/* $FreeBSD$
/* This cannot be part of hack.tty.c (as it was earlier) since on some
systems (e.g. MUNIX) the include files <termio.h> and <sgtty.h>
@@ -32,8 +33,8 @@ setioctls() {
}
#ifdef SUSPEND /* implies BSD */
-dosuspend() {
#include <signal.h>
+dosuspend() {
#ifdef SIGTSTP
if(signal(SIGTSTP, SIG_IGN) == SIG_DFL) {
settty((char *) 0);
OpenPOWER on IntegriCloud