#include <sys/uio.h>
#include <sys/tty.h>
/* #include <sys/pty.h> */
+
+#include <config.h>
+
#define REMOTE 0x01
#undef ioctl
/*************** LOCAL DEFINES **********************************/
-typedef int (*FUNC)(); /* pointer to a function */
-
#define QDEV ((HFQPDEVCH<<8)|HFQPDEVCL)
#define QLOC ((HFQLOCCH<<8)|HFQLOCCL)
#define QPS ((HFQPRESCH<<8)|HFQPRESCL)
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 =