From 3297a1c871a25647d9d08b5f528e640cc2a1d2c2 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 24 Oct 2018 16:30:40 -0400 Subject: [PATCH] include: Remove ___CLIENTSIGNALALL_DEFINED___ copypasta ___CLIENTSIGNAL_DEFINED___ is a hack to work around the declaration of ClientSignal both in our own headers and in , the latter of which is properly part of libXfont (1, only) but packaged in xorgproto because we have made some mistakes. ClientSignalAll needs no such workaround. Signed-off-by: Adam Jackson Reviewed-by: Eric Anholt --- include/dix.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/dix.h b/include/dix.h index 476559842..cf263a1f5 100644 --- a/include/dix.h +++ b/include/dix.h @@ -261,13 +261,10 @@ extern _X_EXPORT Bool ClientSleep(ClientPtr client, extern _X_EXPORT Bool ClientSignal(ClientPtr /*client */ ); #endif /* ___CLIENTSIGNAL_DEFINED___ */ -#ifndef ___CLIENTSIGNALALL_DEFINED___ -#define ___CLIENTSIGNALALL_DEFINED___ #define CLIENT_SIGNAL_ANY ((void *)-1) extern _X_EXPORT int ClientSignalAll(ClientPtr /*client*/, ClientSleepProcPtr /*function*/, void * /*closure*/); -#endif /* ___CLIENTSIGNALALL_DEFINED___ */ extern _X_EXPORT void ClientWakeup(ClientPtr /*client */ );