diff src/hftctl.c @ 3315:dcc64ab7de8c

* hftctl.c (hft_alrm): Declare and define this to return void, not int; the AIX #include files have prototypes for it.
author Jim Blandy <jimb@redhat.com>
date Sun, 30 May 1993 20:16:09 +0000
parents b6c62e4abf59
children a6dde97d8166
line wrap: on
line diff
--- 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          */