summaryrefslogtreecommitdiff
path: root/src/twm.h
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.h
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.h')
-rw-r--r--src/twm.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/twm.h b/src/twm.h
index 2d76ef0..aa5f16d 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -80,15 +80,7 @@ from The Open Group.
#define PIXEL_ALREADY_TYPEDEFED /* for Xmu/Drawing.h */
-#ifdef SIGNALRETURNSINT
-#define SIGNAL_T int
-#define SIGNAL_RETURN return 0
-#else
-#define SIGNAL_T void
-#define SIGNAL_RETURN return
-#endif
-
-typedef SIGNAL_T (*SigProc)(int); /* type of function returned by signal() */
+typedef void (*SigProc)(int); /* type of function returned by signal() */
#define BW 2 /* border width */
#define BW2 4 /* border width * 2 */