summaryrefslogtreecommitdiff
path: root/src/twm.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:28:11 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:29:08 -0700
commit8a3d3a58350506a99efd24f9856466a99bbb9c51 (patch)
tree39ba091d43312f095586ba7779d234e5983e3970 /src/twm.c
parentafcad0de54ecd1a8bfaf261e4e6882985a234963 (diff)
Assume C89 signal handlers, returning void
Removes old #ifdef SIGNALRETURNSINT check that was never defined in autoconf builds, only old Imake builds. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/twm.c')
-rw-r--r--src/twm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/twm.c b/src/twm.c
index e7791da..12f8ca1 100644
--- a/src/twm.c
+++ b/src/twm.c
@@ -107,7 +107,7 @@ static Bool PrintErrorMessages = False; /* controls error messages */
static int RedirectError; /* TRUE ==> another window manager running */
static int TwmErrorHandler ( Display *dpy, XErrorEvent *event ); /* for settting RedirectError */
static int CatchRedirectError ( Display *dpy, XErrorEvent *event ); /* for everything else */
-static SIGNAL_T sigHandler(int);
+static void sigHandler(int);
char Info[INFO_LINES][INFO_SIZE]; /* info strings to print */
int InfoLines;
static char *InitFile = NULL;
@@ -917,11 +917,10 @@ Reborder (Time time)
SetFocus ((TwmWindow*)NULL, time);
}
-static SIGNAL_T
+static void
sigHandler(int sig)
{
XtNoticeSignal(si);
- SIGNAL_RETURN;
}
/**