mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
dix: make LEGAL_NEW_RESOURCE() macro private
Not used by any external driver, so no need to keep it in public header. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -92,14 +92,6 @@ SOFTWARE.
|
||||
return(BadLength); \
|
||||
} while (0)
|
||||
|
||||
#define LEGAL_NEW_RESOURCE(id,client) \
|
||||
do { \
|
||||
if (!LegalNewID((id), (client))) { \
|
||||
(client)->errorValue = (id); \
|
||||
return BadIDChoice; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define WriteReplyToClient(pClient, size, pReply) \
|
||||
do { \
|
||||
if ((pClient)->swapped) \
|
||||
|
||||
Reference in New Issue
Block a user