changeset 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 a472a3956b2a
children 9857db8aa4cd
files src/hftctl.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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          */