mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-03 03:24:39 +00:00
Replace 'pointer' type with 'void *'
This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer' is used throughout the X server for other things, and having duplicate names generates compiler warnings. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
93fa64e17d
commit
60014a4a98
319 changed files with 1917 additions and 1914 deletions
|
|
@ -58,7 +58,7 @@ typedef struct _DamageExt {
|
|||
} DamageExtRec, *DamageExtPtr;
|
||||
|
||||
#define VERIFY_DAMAGEEXT(pDamageExt, rid, client, mode) { \
|
||||
int rc = dixLookupResourceByType((pointer *)&(pDamageExt), rid, \
|
||||
int rc = dixLookupResourceByType((void **)&(pDamageExt), rid, \
|
||||
DamageExtType, client, mode); \
|
||||
if (rc != Success) \
|
||||
return rc; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue