diff options
| author | Richard M. Stallman | 1993-11-21 22:19:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-21 22:19:51 +0000 |
| commit | 85be9133b9504a8dbcdbd2caed0aa65c654ef0bf (patch) | |
| tree | c8aebc46b94e5265c61486addd940676efe4517f /src/hftctl.c | |
| parent | 3dbb573a0c14f16bc9b3f163179bc794c1fb7ff4 (diff) | |
| download | emacs-85be9133b9504a8dbcdbd2caed0aa65c654ef0bf.tar.gz emacs-85be9133b9504a8dbcdbd2caed0aa65c654ef0bf.zip | |
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.c | 7 |
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 @@ | |||
| 55 | #include <sys/uio.h> | 55 | #include <sys/uio.h> |
| 56 | #include <sys/tty.h> | 56 | #include <sys/tty.h> |
| 57 | /* #include <sys/pty.h> */ | 57 | /* #include <sys/pty.h> */ |
| 58 | |||
| 59 | #include <config.h> | ||
| 60 | |||
| 58 | #define REMOTE 0x01 | 61 | #define REMOTE 0x01 |
| 59 | 62 | ||
| 60 | #undef ioctl | 63 | #undef ioctl |
| @@ -62,8 +65,6 @@ static char SCCSid[] = "com/gnuemacs/src,3.1,9021-90/05/03-5/3/90"; | |||
| 62 | 65 | ||
| 63 | /*************** LOCAL DEFINES **********************************/ | 66 | /*************** LOCAL DEFINES **********************************/ |
| 64 | 67 | ||
| 65 | typedef int (*FUNC)(); /* pointer to a function */ | ||
| 66 | |||
| 67 | #define QDEV ((HFQPDEVCH<<8)|HFQPDEVCL) | 68 | #define QDEV ((HFQPDEVCH<<8)|HFQPDEVCL) |
| 68 | #define QLOC ((HFQLOCCH<<8)|HFQLOCCL) | 69 | #define QLOC ((HFQLOCCH<<8)|HFQLOCCL) |
| 69 | #define QPS ((HFQPRESCH<<8)|HFQPRESCL) | 70 | #define QPS ((HFQPRESCH<<8)|HFQPRESCL) |
| @@ -84,7 +85,7 @@ static int hfskbd(); | |||
| 84 | extern int errno; | 85 | extern int errno; |
| 85 | static jmp_buf hftenv; | 86 | static jmp_buf hftenv; |
| 86 | static int is_ack_vtd; | 87 | static int is_ack_vtd; |
| 87 | static FUNC sav_alrm; | 88 | static SIGTYPE (*sav_alrm) (); |
| 88 | static struct hfctlreq req = | 89 | static struct hfctlreq req = |
| 89 | { 0x1b,'[','x',0,0,0,21,HFCTLREQCH,HFCTLREQCL}; | 90 | { 0x1b,'[','x',0,0,0,21,HFCTLREQCH,HFCTLREQCL}; |
| 90 | static struct hfctlack ACK = | 91 | static struct hfctlack ACK = |