Commit 15924ff7 authored by Jim Blandy's avatar Jim Blandy
Browse files

* hftctl.c (hft_alrm): Declare and define this to return void, not

	int; the AIX #include files have prototypes for it.
parent e3de4c57
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment