summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-01 21:50:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-01 21:50:37 -0700
commit29d85cd3abd884022b67ea26c011fc06109242ac (patch)
tree8d08127bd334f2bd9687412a60dcd975146685d2
parent173166cff3d37a71098bf9b194b0cbe8dae0564c (diff)
Assume signal handlers return void, as C89 requires
Drops use of Imake's obsolete SIGNALRETURNSINT. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--pmdb.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/pmdb.c b/pmdb.c
index bfb6517..c282523 100644
--- a/pmdb.c
+++ b/pmdb.c
@@ -33,12 +33,7 @@ from The Open Group.
#include <stdlib.h>
#include <signal.h>
-#if defined(X_NOT_POSIX) && defined(SIGNALRETURNSINT)
-#define SIGVAL int
-#else
-#define SIGVAL void
-#endif
-typedef SIGVAL (*Signal_Handler)(int);
+typedef void (*Signal_Handler)(int);
static proxy_service *proxyServiceList = NULL;