mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-06 11:55:48 +00:00
* hftctl.c (hft_alrm): Declare and define this to return void, not
int; the AIX #include files have prototypes for it.
This commit is contained in:
parent
e3de4c5789
commit
15924ff722
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user