mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 06:50:46 -08:00
Include config.h. Include sys/signal.h before config.h.
(sav_alrm): Use SIGTYPE. (FUNC): Typedef deleted.
This commit is contained in:
parent
3dbb573a0c
commit
85be9133b9
1 changed files with 4 additions and 3 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue