summaryrefslogtreecommitdiffstats
path: root/hack/hack.ioctl.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-01-07 04:36:41 +0000
committermycroft <mycroft@NetBSD.org>1995-01-07 04:36:41 +0000
commit3a8ae6ef56183c759d78de97fb015529bc6b005f (patch)
tree6f40ab6dcaed504bbc3d2d3bc3196988b2cd624c /hack/hack.ioctl.c
parent44a2ddf9c7b40ed56ec76d7afd1831b75bcdd17d (diff)
downloadbsdgames-darwin-3a8ae6ef56183c759d78de97fb015529bc6b005f.tar.gz
bsdgames-darwin-3a8ae6ef56183c759d78de97fb015529bc6b005f.tar.zst
bsdgames-darwin-3a8ae6ef56183c759d78de97fb015529bc6b005f.zip
Don't #include inside a function definition.
Diffstat (limited to 'hack/hack.ioctl.c')
-rw-r--r--hack/hack.ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/hack.ioctl.c b/hack/hack.ioctl.c
index a66b66bf..714dcc51 100644
--- a/hack/hack.ioctl.c
+++ b/hack/hack.ioctl.c
@@ -3,7 +3,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: hack.ioctl.c,v 1.2 1993/08/02 17:17:16 mycroft Exp $";
+static char rcsid[] = "$Id: hack.ioctl.c,v 1.3 1995/01/07 04:36:41 mycroft Exp $";
#endif /* not lint */
/* This cannot be part of hack.tty.c (as it was earlier) since on some
@@ -37,8 +37,8 @@ setioctls() {
}
#ifdef SUSPEND /* implies BSD */
-dosuspend() {
#include <signal.h>
+dosuspend() {
#ifdef SIGTSTP
if(signal(SIGTSTP, SIG_IGN) == SIG_DFL) {
settty((char *) 0);