summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-01-15 15:32:09 +1000
committerKeith Packard <keithp@keithp.com>2010-01-25 09:24:31 +1300
commitea1de3fcdc40d2060bb6d13775005eadd624e767 (patch)
tree277129a182d09d7996dabf52ce1fbe3f247d28aa /include
parent0f2d297dedeff8bd227df4c498cc668b0e902344 (diff)
xkb: remove _XkbTyped*alloc
Please no extension-specific macros for memory allocation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/xkbsrv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/xkbsrv.h b/include/xkbsrv.h
index ebc7cdbb8..5d5ea9b9b 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -299,10 +299,6 @@ extern _X_EXPORT char * XkbBinDirectory;
extern _X_EXPORT CARD32 xkbDebugFlags;
-#define _XkbTypedAlloc(t) ((t *)xalloc(sizeof(t)))
-#define _XkbTypedCalloc(n,t) ((t *)Xcalloc((n)*sizeof(t)))
-#define _XkbTypedRealloc(o,n,t) \
- ((o)?(t *)Xrealloc((o),(n)*sizeof(t)):_XkbTypedCalloc(n,t))
#define _XkbClearElems(a,f,l,t) bzero(&(a)[f],((l)-(f)+1)*sizeof(t))
#define _XkbLibError(c,l,d) /* Epoch fail */