Get rid of support of ancient signal handler return type int

Such environments are missing void type, older K&R C, and
such supports already had been removed in various places.
Furthermore, current hardcoded 'SIGNALRETURNSINT' is wrong.
This commit is contained in:
OBATA Akio
2021-09-19 18:08:41 +09:00
parent 3e81d4c4de
commit 692771fb07
5 changed files with 4 additions and 24 deletions
-4
View File
@@ -161,11 +161,7 @@
/* Utmp rec prefix */
#define UTMPREC_PREFIX "dt"
#ifdef SIGNALRETURNSINT
#define SIGVAL int
#else
#define SIGVAL void
#endif
#ifndef UID_NO_CHANGE