summaryrefslogtreecommitdiff
path: root/src/hftctl.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-30 20:16:09 +0000
committerJim Blandy <jimb@redhat.com>1993-05-30 20:16:09 +0000
commit430834e1a32445e21d281935da0162cbe424eff0 (patch)
tree63eab9d65fa4ad1b5cb66dd4c9c103a8a6f086ab /src/hftctl.c
parenta20e1eeaf4a68c1f6588cd1fd1af587034ce4cf6 (diff)
downloademacs-430834e1a32445e21d281935da0162cbe424eff0.tar.gz
* hftctl.c (hft_alrm): Declare and define this to return void, not
int; the AIX #include files have prototypes for it.
Diffstat (limited to 'src/hftctl.c')
-rw-r--r--src/hftctl.c8
1 files 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 */