diff options
Diffstat (limited to 'xorg-server/include/callback.h')
-rw-r--r-- | xorg-server/include/callback.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xorg-server/include/callback.h b/xorg-server/include/callback.h index df638c0d4..3529225b4 100644 --- a/xorg-server/include/callback.h +++ b/xorg-server/include/callback.h @@ -52,6 +52,10 @@ SOFTWARE. #include <X11/Xproto.h> #include <X11/Xfuncproto.h> +#ifdef _MSC_VER +#define inline __inline +#endif + /* * callback manager stuff */ @@ -66,14 +70,14 @@ typedef void (*CallbackProcPtr) (CallbackListPtr *, void *, void *); extern _X_EXPORT Bool AddCallback(CallbackListPtr * /*pcbl */ , CallbackProcPtr /*callback */ , - void */*data */ ); + void * /*data */ ); extern _X_EXPORT Bool DeleteCallback(CallbackListPtr * /*pcbl */ , CallbackProcPtr /*callback */ , - void */*data */ ); + void * /*data */ ); extern _X_EXPORT void _CallCallbacks(CallbackListPtr * /*pcbl */ , - void */*call_data */ ); + void * /*call_data */ ); static inline void CallCallbacks(CallbackListPtr *pcbl, void *call_data) |