aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/callback.h')
-rw-r--r--xorg-server/include/callback.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xorg-server/include/callback.h b/xorg-server/include/callback.h
index b42708960..df638c0d4 100644
--- a/xorg-server/include/callback.h
+++ b/xorg-server/include/callback.h
@@ -62,21 +62,21 @@ typedef struct _CallbackList *CallbackListPtr; /* also in misc.h */
#define _XTYPEDEF_CALLBACKLISTPTR
#endif
-typedef void (*CallbackProcPtr) (CallbackListPtr *, pointer, pointer);
+typedef void (*CallbackProcPtr) (CallbackListPtr *, void *, void *);
extern _X_EXPORT Bool AddCallback(CallbackListPtr * /*pcbl */ ,
CallbackProcPtr /*callback */ ,
- pointer /*data */ );
+ void */*data */ );
extern _X_EXPORT Bool DeleteCallback(CallbackListPtr * /*pcbl */ ,
CallbackProcPtr /*callback */ ,
- pointer /*data */ );
+ void */*data */ );
extern _X_EXPORT void _CallCallbacks(CallbackListPtr * /*pcbl */ ,
- pointer /*call_data */ );
+ void */*call_data */ );
static inline void
-CallCallbacks(CallbackListPtr *pcbl, pointer call_data)
+CallCallbacks(CallbackListPtr *pcbl, void *call_data)
{
if (!pcbl || !*pcbl)
return;