summaryrefslogtreecommitdiff
path: root/src/hftctl.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-21 22:19:51 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-21 22:19:51 +0000
commit2fa62a504129b7d2b5d7ce73fc0b2be979d64106 (patch)
tree3431b65d85c03e30fa0dac41e855dcdf84a340a8 /src/hftctl.c
parent68a03714290c1b3787e1a07d0ac778b02c51ed5a (diff)
downloademacs-2fa62a504129b7d2b5d7ce73fc0b2be979d64106.tar.gz
Include config.h. Include sys/signal.h before config.h.
(sav_alrm): Use SIGTYPE. (FUNC): Typedef deleted.
Diffstat (limited to 'src/hftctl.c')
-rw-r--r--src/hftctl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/hftctl.c b/src/hftctl.c
index 5891b25cd2e..17a2c8c7ee9 100644
--- a/src/hftctl.c
+++ b/src/hftctl.c
@@ -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 @@ static char SCCSid[] = "com/gnuemacs/src,3.1,9021-90/05/03-5/3/90";
/*************** 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 @@ static int hfskbd();
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 =