diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-11 19:31:37 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-12-11 19:31:37 -0800 |
commit | 140965e6a565e338e07cf6fcc0dd5313acd67716 (patch) | |
tree | c2be1c62fad6b426d46451b5ee2878914d370719 /process.c | |
parent | cfb36499790b764d87af7d6f4713f4fe8d3d88f7 (diff) | |
download | xorg-app-xauth-140965e6a565e338e07cf6fcc0dd5313acd67716.tar.gz |
Remove Imake compatibility #ifdefs - require configure's AC_TYPE_SIGNAL
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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 |