summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 19:31:37 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-11 19:31:37 -0800
commit140965e6a565e338e07cf6fcc0dd5313acd67716 (patch)
treec2be1c62fad6b426d46451b5ee2878914d370719 /process.c
parentcfb36499790b764d87af7d6f4713f4fe8d3d88f7 (diff)
downloadxorg-app-xauth-140965e6a565e338e07cf6fcc0dd5313acd67716.tar.gz
Remove Imake compatibility #ifdefs - require configure's AC_TYPE_SIGNAL
Diffstat (limited to 'process.c')
-rw-r--r--process.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/process.c b/process.c
index 105305b..4cb2b56 100644
--- a/process.c
+++ b/process.c
@@ -630,21 +630,12 @@ static Bool xauth_locked = False; /* if has been locked */
static char *xauth_filename = NULL;
static volatile Bool dieing = False;
-#ifdef RETSIGTYPE /* autoconf AC_TYPE_SIGNAL */
-# define _signal_t RETSIGTYPE
-#else /* Imake */
-#ifdef SIGNALRETURNSINT
-#define _signal_t int
-#else
-#define _signal_t void
-#endif
-#endif /* RETSIGTYPE */
/* poor man's puts(), for under signal handlers */
#define WRITES(fd, S) (void)write((fd), (S), strlen((S)))
/* ARGSUSED */
-static _signal_t
+static RETSIGTYPE
die(int sig)
{
dieing = True;
@@ -655,7 +646,7 @@ die(int sig)
#endif
}
-static _signal_t
+static RETSIGTYPE
catchsig(int sig)
{
#ifdef SYSV