POSIX says that's the type to use for a signal handler.
Pulled in from nmh. Thanks to Ken Hornstein.
(btw: `to pull in' describes my action better than `to merge'.)
dnl --------------
dnl CHECK TYPEDEFS
dnl --------------
-AC_TYPE_SIGNAL
AC_TYPE_PID_T
AC_TYPE_OFF_T
AC_TYPE_UID_T
/*
** The type for a signal handler
*/
-typedef RETSIGTYPE (*SIGNAL_HANDLER)(int);
+typedef void (*SIGNAL_HANDLER)(int);
/*
** If not a POSIX machine, then we create our
/*
** static prototypes
*/
-static RETSIGTYPE intrser(int);
+static void intrser(int);
char **
}
-static RETSIGTYPE
+static void
intrser(int i)
{
/*
static void lockname(char *, struct lockinfo *, int);
static void timerON(char *, int);
static void timerOFF(int);
-static RETSIGTYPE alrmser(int);
+static void alrmser(int);
#if !defined(HAVE_LIBLOCKFILE)
static int lockit(struct lockinfo *);
** lockfiles, so another command doesn't remove them.
*/
-static RETSIGTYPE
+static void
alrmser(int sig)
{
char *lockfile;
static char *oneline(char *, long);
static void putstr(char *);
static void putch(char);
-static RETSIGTYPE intrser(int);
-static RETSIGTYPE pipeser(int);
-static RETSIGTYPE quitser(int);
+static void intrser(int);
+static void pipeser(int);
+static void quitser(int);
static void mhladios(char *, char *, ...);
static void mhldone(int);
static void m_popen(char *);
}
-static RETSIGTYPE
+static void
intrser(int i)
{
#ifndef RELIABLE_SIGNALS
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
#ifndef RELIABLE_SIGNALS
}
-static RETSIGTYPE
+static void
quitser(int i)
{
#ifndef RELIABLE_SIGNALS
/*
** static prototypes
*/
-static RETSIGTYPE pipeser(int);
+static void pipeser(int);
int
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
if (i == SIGQUIT) {
/*
** static prototypes
*/
-static RETSIGTYPE intrser(int);
+static void intrser(int);
int
}
-static RETSIGTYPE
+static void
intrser(int i)
{
#ifndef RELIABLE_SIGNALS
/*
** static prototypes
*/
-static RETSIGTYPE pipeser(int);
+static void pipeser(int);
int
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
if (i == SIGQUIT) {
/*
** static prototypes
*/
-static RETSIGTYPE pipeser(int);
+static void pipeser(int);
int autosw = 0;
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
if (i == SIGQUIT) {
** static prototypes
*/
static int write_content(CT *, char *);
-static RETSIGTYPE pipeser(int);
+static void pipeser(int);
int
}
-static RETSIGTYPE
+static void
pipeser(int i)
{
if (i == SIGQUIT) {
int getln(char *, int);
static int chrcnv(char *);
static void chrdsp(char *, char);
-static RETSIGTYPE intrser(int);
+static void intrser(int);
int
}
-static RETSIGTYPE
+static void
intrser(int i)
{
#ifndef RELIABLE_SIGNALS
static int usr_file(int, char *);
static int usr_pipe(int, char *, char *, char **, int);
static int usr_folder(int, char *);
-static RETSIGTYPE alrmser(int);
+static void alrmser(int);
static void get_sender(char *, char **);
static int copy_message(int, char *, int);
static void verbose_printf(char *fmt, ...);
}
-static RETSIGTYPE
+static void
alrmser(int i)
{
#ifndef RELIABLE_SIGNALS