summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-06 13:40:34 +0000
committerMatthieu Herrb <matthieu@herrb.eu>2020-07-14 15:52:36 +0200
commit0558b02e94ad27dd89619aa0fb5045133a983ca6 (patch)
treeb2e1f41d5fdbeb8ccb1d7af3727c067d88424dfb
parent1d69fafbb7d6ad7c6820bbe39e8c25728489233a (diff)
The SIGFUNC type definition is unused now
-rw-r--r--include/dm.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/dm.h b/include/dm.h
index 4a107b2..82024f6 100644
--- a/include/dm.h
+++ b/include/dm.h
@@ -314,12 +314,9 @@ extern void WaitForChild (void);
* CloseOnFork flags
*/
-# define CLOSE_ALWAYS 0
-# define LEAVE_FOR_DISPLAY 1
-
-# include <stdlib.h>
-
-typedef void (*SIGFUNC)(int);
+#define CLOSE_ALWAYS 0
+#define LEAVE_FOR_DISPLAY 1
+#include <stdlib.h>
#endif /* _DM_H_ */