]> code.delx.au - gnu-emacs/blobdiff - src/hftctl.c
(Fnext_property_change): Properly offset interval
[gnu-emacs] / src / hftctl.c
index 5891b25cd2ec3081210c9ed34c0883438465e7a7..5fe816abbb502e8ac0bd3f1ba2f14d5e0ab5d783 100644 (file)
 /*                                                             */
 /***************************************************************/
 
+#include <sys/signal.h>
+#include <errno.h>
+
+#include <config.h>
 
 #include <stdio.h>
 #include <fcntl.h>
-#include <errno.h>
 #include <setjmp.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
 #include <sys/devinfo.h>
 #include <termios.h>
 #include <termio.h>
@@ -55,6 +57,7 @@
 #include <sys/uio.h>
 #include <sys/tty.h>
 /* #include <sys/pty.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 =