From aa5216e89797b600f382c04e3eaa657e808a5c3e Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 31 Jan 2008 12:05:08 +1100 Subject: Rip out useless indirection in the callback list management. --- include/dix.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'include/dix.h') diff --git a/include/dix.h b/include/dix.h index 8cfbbc4f6..ec9806aef 100644 --- a/include/dix.h +++ b/include/dix.h @@ -498,25 +498,6 @@ typedef struct _CallbackList *CallbackListPtr; /* also in misc.h */ typedef void (*CallbackProcPtr) ( CallbackListPtr *, pointer, pointer); -typedef Bool (*AddCallbackProcPtr) ( - CallbackListPtr *, CallbackProcPtr, pointer); - -typedef Bool (*DeleteCallbackProcPtr) ( - CallbackListPtr *, CallbackProcPtr, pointer); - -typedef void (*CallCallbacksProcPtr) ( - CallbackListPtr *, pointer); - -typedef void (*DeleteCallbackListProcPtr) ( - CallbackListPtr *); - -typedef struct _CallbackProcs { - AddCallbackProcPtr AddCallback; - DeleteCallbackProcPtr DeleteCallback; - CallCallbacksProcPtr CallCallbacks; - DeleteCallbackListProcPtr DeleteCallbackList; -} CallbackFuncsRec, *CallbackFuncsPtr; - extern Bool AddCallback( CallbackListPtr * /*pcbl*/, CallbackProcPtr /*callback*/, -- cgit v1.2.3