type to use for a signal handler.
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 prototypes
*/
-static RETSIGTYPE pipeser (int);
+static void pipeser (int);
int
}
-static RETSIGTYPE
+static void
pipeser (int i)
{
if (i == SIGQUIT) {
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 face_format (struct mcomp *);
static int doface (struct mcomp *);
static void mhladios (char *, 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 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
}
-static RETSIGTYPE
+static void
pipeser (int i)
{
if (i == SIGQUIT) {
static int show_message_rfc822 (CT, int, int);
static int show_partial (CT, int, int);
static int show_external (CT, int, int);
-static RETSIGTYPE intrser (int);
+static void intrser (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 int write_content (CT *, char *);
-static RETSIGTYPE pipeser (int);
+static void pipeser (int);
int
}
-static RETSIGTYPE
+static void
pipeser (int i)
{
if (i == SIGQUIT) {
static void fin_io (struct Cmd *, int);
static void finaux_io (struct Cmd *);
static void m_init (void);
-static RETSIGTYPE intrser (int);
-static RETSIGTYPE pipeser (int);
-static RETSIGTYPE quitser (int);
-static RETSIGTYPE alrmser (int);
+static void intrser (int);
+static void pipeser (int);
+static void quitser (int);
+static void alrmser (int);
static int pINI (void);
static int pQRY (char *, int);
static int pQRY1 (int);
-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 RETSIGTYPE
+static void
alrmser (int i)
{
longjmp (peerenv, DONE);
* SIGNAL HANDLING
*/
-static RETSIGTYPE
+static void
sigser (int i)
{
#ifndef RELIABLE_SIGNALS
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 prototypes
*/
-static RETSIGTYPE alrmser (int);
+static void alrmser (int);
static int message_fd (char **);
static int header_fd (void);
static void alert (char *, int);
}
-static RETSIGTYPE
+static void
alrmser (int i)
{
#ifndef RELIABLE_SIGNALS
static int usr_file (int, char *, int);
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