# HG changeset patch # User Jim Blandy # Date 738792969 0 # Node ID dcc64ab7de8c32ef1c595445dd9a8768d6845605 # Parent a472a3956b2a51f025e756729f2de94721066b3c * hftctl.c (hft_alrm): Declare and define this to return void, not int; the AIX #include files have prototypes for it. diff -r a472a3956b2a -r dcc64ab7de8c src/hftctl.c --- a/src/hftctl.c Sun May 30 20:08:16 1993 +0000 +++ b/src/hftctl.c Sun May 30 20:16:09 1993 +0000 @@ -110,7 +110,7 @@ #ifdef __STDC__ static GT_ACK (int fd, int req, char *buf); static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen); -static hft_alrm(int sig); +static void hft_alrm(int sig); #else static GT_ACK (); static WR_REQ (); @@ -275,9 +275,9 @@ } /*************** HFT_ALRM FUNCTION ******************************/ -static int -hft_alrm (sig) /* Function hft_alrm - handle */ - int sig; /* alarm signal */ +static void +hft_alrm (sig) /* Function hft_alrm - handle */ + int sig; /* alarm signal */ { signal (SIGALRM, sav_alrm); /* reset to previous */