Move the #include directive up one line and out of the function body.
This commit is contained in:
parent
03c6be5cdc
commit
e1c2c8c16e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51194
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user