Move the #include directive up one line and out of the function body.

This commit is contained in:
Marcel Moolenaar 1999-09-12 07:01:23 +00:00
parent 03c6be5cdc
commit e1c2c8c16e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51194

View File

@ -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);