diff options
| author | Jim Blandy | 1993-05-30 20:16:09 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-30 20:16:09 +0000 |
| commit | 15924ff722cd85b073f5641fbad310779ec68bb7 (patch) | |
| tree | 4889251336f8c955e0522c6aabde63192f312993 /src | |
| parent | e3de4c5789143cba4c7c51495a63df0699af4ccb (diff) | |
| download | emacs-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.c | 8 |
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__ |
| 111 | static GT_ACK (int fd, int req, char *buf); | 111 | static GT_ACK (int fd, int req, char *buf); |
| 112 | static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen); | 112 | static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen); |
| 113 | static hft_alrm(int sig); | 113 | static void hft_alrm(int sig); |
| 114 | #else | 114 | #else |
| 115 | static GT_ACK (); | 115 | static GT_ACK (); |
| 116 | static WR_REQ (); | 116 | static WR_REQ (); |
| @@ -275,9 +275,9 @@ GT_ACK (fd, req, buf) | |||
| 275 | } | 275 | } |
| 276 | 276 | ||
| 277 | /*************** HFT_ALRM FUNCTION ******************************/ | 277 | /*************** HFT_ALRM FUNCTION ******************************/ |
| 278 | static int | 278 | static void |
| 279 | hft_alrm (sig) /* Function hft_alrm - handle */ | 279 | hft_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 | ||