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:
Enrico Weigelt, metux IT consult
2025-03-07 08:53:06 +01:00
parent 2cc1ae4d20
commit 62b86f2b13
7 changed files with 21 additions and 12 deletions

View File

@@ -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) \