summaryrefslogtreecommitdiffstats
path: root/hack/hack.pager.c
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1995-02-28 18:30:59 +0000
committerjtc <jtc@NetBSD.org>1995-02-28 18:30:59 +0000
commit88534de16b9551ed7674d754aa6f53c83627eff5 (patch)
tree2a3b8587469715cddffaa697f188d2f554424df0 /hack/hack.pager.c
parent00ac893aa9922a7fe2cd763f97a176da02b11301 (diff)
downloadbsdgames-darwin-88534de16b9551ed7674d754aa6f53c83627eff5.tar.gz
bsdgames-darwin-88534de16b9551ed7674d754aa6f53c83627eff5.tar.zst
bsdgames-darwin-88534de16b9551ed7674d754aa6f53c83627eff5.zip
change <sys/signal.h> to <signal.h>
Diffstat (limited to 'hack/hack.pager.c')
-rw-r--r--hack/hack.pager.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hack/hack.pager.c b/hack/hack.pager.c
index c1572b38..b9e4ba41 100644
--- a/hack/hack.pager.c
+++ b/hack/hack.pager.c
@@ -3,7 +3,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: hack.pager.c,v 1.2 1993/08/02 17:19:13 mycroft Exp $";
+static char rcsid[] = "$Id: hack.pager.c,v 1.3 1995/02/28 18:31:36 jtc Exp $";
#endif /* not lint */
/* This file contains the command routine dowhatis() and a pager. */
@@ -11,13 +11,14 @@ static char rcsid[] = "$Id: hack.pager.c,v 1.2 1993/08/02 17:19:13 mycroft Exp $
contact the outside world. */
#include <sys/types.h>
-#include <sys/signal.h>
+#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
#include "hack.h"
extern int CO, LI; /* usually COLNO and ROWNO+2 */
extern char *CD;
extern char quitchars[];
-extern char *getenv(), *getlogin();
void done1();
dowhatis()