From 15924ff722cd85b073f5641fbad310779ec68bb7 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 30 May 1993 20:16:09 +0000 Subject: [PATCH] * hftctl.c (hft_alrm): Declare and define this to return void, not int; the AIX #include files have prototypes for it. --- src/hftctl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hftctl.c b/src/hftctl.c index 1b460500b0c..679f56245e7 100644 --- a/src/hftctl.c +++ b/src/hftctl.c @@ -110,7 +110,7 @@ static struct hfctlack ACK = #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 @@ GT_ACK (fd, req, buf) } /*************** 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 */