summaryrefslogtreecommitdiff
path: root/include/dix.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-01-31 12:05:08 +1100
committerAdam Jackson <ajax@redhat.com>2008-02-14 07:02:13 +1100
commitaa5216e89797b600f382c04e3eaa657e808a5c3e (patch)
treee33abcb51ace22aab23bc72df1a102bf31c6de30 /include/dix.h
parent0d492b2166c4026b9078ffd86d89a31ebe590be4 (diff)
Rip out useless indirection in the callback list management.
Diffstat (limited to 'include/dix.h')
-rw-r--r--include/dix.h19
1 files changed, 0 insertions, 19 deletions
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*/,