summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-15 08:27:09 -0800
committerKeith Packard <keithp@keithp.com>2014-01-15 15:02:12 -0800
commit148d89f0b3a652acc54b1a21807ffd6d0e81e279 (patch)
treeadd34dbaa3b6e9b739383d9a3b412377f97d6a4c
parent3911ad9e8e8911c4b4a5d624e73b51667d0e3963 (diff)
downloadxorg-proto-x11proto-148d89f0b3a652acc54b1a21807ffd6d0e81e279.tar.gz
Replace 'pointer' with explicit 'void *'
To get rid of the 'pointer' typedef, stop using it locally. That way, when _XTYPEDEF_POINTER is defined before Xdefs.h is included, it won't get defined and Xdefs.h will still compile. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--Xdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xdefs.h b/Xdefs.h
index 46ffdad..e25a208 100644
--- a/Xdefs.h
+++ b/Xdefs.h
@@ -101,8 +101,8 @@ typedef FSID AccContext;
typedef struct timeval **OSTimePtr;
-typedef void (* BlockHandlerProcPtr)(pointer /* blockData */,
+typedef void (* BlockHandlerProcPtr)(void * /* blockData */,
OSTimePtr /* pTimeout */,
- pointer /* pReadmask */);
+ void * /* pReadmask */);
#endif