aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-30 20:16:09 +0000
committerJim Blandy1993-05-30 20:16:09 +0000
commit15924ff722cd85b073f5641fbad310779ec68bb7 (patch)
tree4889251336f8c955e0522c6aabde63192f312993 /src
parente3de4c5789143cba4c7c51495a63df0699af4ccb (diff)
downloademacs-15924ff722cd85b073f5641fbad310779ec68bb7.tar.gz
emacs-15924ff722cd85b073f5641fbad310779ec68bb7.zip
* 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')
-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 =
110#ifdef __STDC__ 110#ifdef __STDC__
111static GT_ACK (int fd, int req, char *buf); 111static GT_ACK (int fd, int req, char *buf);
112static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen); 112static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen);
113static hft_alrm(int sig); 113static void hft_alrm(int sig);
114#else 114#else
115static GT_ACK (); 115static GT_ACK ();
116static WR_REQ (); 116static WR_REQ ();
@@ -275,9 +275,9 @@ GT_ACK (fd, req, buf)
275} 275}
276 276
277/*************** HFT_ALRM FUNCTION ******************************/ 277/*************** HFT_ALRM FUNCTION ******************************/
278static int 278static void
279hft_alrm (sig) /* Function hft_alrm - handle */ 279hft_alrm (sig) /* Function hft_alrm - handle */
280 int sig; /* alarm signal */ 280 int sig; /* alarm signal */
281{ 281{
282 signal (SIGALRM, sav_alrm); /* reset to previous */ 282 signal (SIGALRM, sav_alrm); /* reset to previous */
283 283