aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/include/os.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-05 22:05:20 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:56:27 +0200
commited13175637aca5d7219ac4319cfe5fd8881dce52 (patch)
treeaec04b9bac55402498171b19fa0244cd68e34380 /nx-X11/programs/Xserver/include/os.h
parentd18879ad42a8aab964a685838e5749565ad5fb68 (diff)
downloadnx-libs-ed13175637aca5d7219ac4319cfe5fd8881dce52.tar.gz
nx-libs-ed13175637aca5d7219ac4319cfe5fd8881dce52.tar.bz2
nx-libs-ed13175637aca5d7219ac4319cfe5fd8881dce52.zip
os: signal handlers return void.
commit 843166b033dc0544b9f3cf3c91fc3ae3650bda14 Author: Adam Jackson <ajax@redhat.com> Date: Mon Apr 6 11:05:17 2009 -0400 os: signal handlers return void.
Diffstat (limited to 'nx-X11/programs/Xserver/include/os.h')
-rw-r--r--nx-X11/programs/Xserver/include/os.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/include/os.h b/nx-X11/programs/Xserver/include/os.h
index 920b474db..7b8779579 100644
--- a/nx-X11/programs/Xserver/include/os.h
+++ b/nx-X11/programs/Xserver/include/os.h
@@ -86,13 +86,6 @@ typedef struct _NewClientRec *NewClientPtr;
#endif
#include <string.h>
-/* have to put $(SIGNAL_DEFINES) in DEFINES in Imakefile to get this right */
-#ifdef SIGNALRETURNSINT
-#define SIGVAL int
-#else
-#define SIGVAL void
-#endif
-
extern void (*OsVendorVErrorFProc)(const char *, va_list args);
extern int WaitForSomething(
@@ -207,9 +200,9 @@ extern void SetDPMSTimers(void);
extern void FreeDPMSTimers(void);
#endif
-extern SIGVAL AutoResetServer(int /*sig*/);
+extern void AutoResetServer(int /*sig*/);
-extern SIGVAL GiveUp(int /*sig*/);
+extern void GiveUp(int /*sig*/);
extern void UseMsg(void);
@@ -240,7 +233,7 @@ extern _X_EXPORT char *Xvprintf(const char *fmt, va_list va)_X_ATTRIBUTE_PRINTF(
extern _X_EXPORT char *XNFprintf(const char *fmt, ...) _X_ATTRIBUTE_PRINTF(1,2) _X_DEPRECATED;
extern _X_EXPORT char *XNFvprintf(const char *fmt, va_list va)_X_ATTRIBUTE_PRINTF(1,0) _X_DEPRECATED;
-typedef SIGVAL (*OsSigHandlerPtr)(int /* sig */);
+typedef void (*OsSigHandlerPtr)(int /* sig */);
extern OsSigHandlerPtr OsSignal(int /* sig */, OsSigHandlerPtr /* handler */);