changeset 5098:a770e7708711

Include config.h. Include sys/signal.h before config.h. (sav_alrm): Use SIGTYPE. (FUNC): Typedef deleted.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Nov 1993 22:19:51 +0000
parents a0a5b39e3d22
children 019961514fbd
files src/hftctl.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/hftctl.c	Sun Nov 21 22:18:15 1993 +0000
+++ b/src/hftctl.c	Sun Nov 21 22:19:51 1993 +0000
@@ -55,6 +55,9 @@
 #include <sys/uio.h>
 #include <sys/tty.h>
 /* #include <sys/pty.h> */
+
+#include <config.h>
+
 #define REMOTE 0x01
 
 #undef ioctl
@@ -62,8 +65,6 @@
 
 /*************** LOCAL DEFINES **********************************/
 
-typedef int    (*FUNC)();     /* pointer to a function        */
-
 #define QDEV   ((HFQPDEVCH<<8)|HFQPDEVCL)
 #define QLOC   ((HFQLOCCH<<8)|HFQLOCCL)
 #define QPS    ((HFQPRESCH<<8)|HFQPRESCL)
@@ -84,7 +85,7 @@
 extern int              errno;
 static jmp_buf          hftenv;
 static int              is_ack_vtd;
-static FUNC             sav_alrm;
+static SIGTYPE             (*sav_alrm) ();
 static struct hfctlreq  req =
 			{ 0x1b,'[','x',0,0,0,21,HFCTLREQCH,HFCTLREQCL};
 static struct hfctlack  ACK =