summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-05 21:00:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:28:53 +1000
commit5cf70183812541b33a6e83c7e1e3bc6198730cbe (patch)
treef5756527aeb0a97732cd3fc480a07249f6a02996 /include
parent0e31d3906deaee5d9ada66e538b9e93574a4d610 (diff)
xkb: remove _XkbAlloc, _XkbCalloc, _XkbRealloc and _XkbFree
We all agree that wrapping is fun, but seriously. One of these days someone will get hurt. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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 74d5f290c..c3f64916e 100644
--- a/include/xkbsrv.h
+++ b/include/xkbsrv.h
@@ -301,15 +301,11 @@ extern _X_EXPORT pointer XkbLastRepeatEvent;
extern _X_EXPORT CARD32 xkbDebugFlags;
-#define _XkbAlloc(s) xalloc((s))
-#define _XkbCalloc(n,s) Xcalloc((n)*(s))
-#define _XkbRealloc(o,s) Xrealloc((o),(s))
#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 _XkbFree(p) Xfree(p)
#define _XkbLibError(c,l,d) /* Epoch fail */
#define _XkbErrCode2(a,b) ((XID)((((unsigned int)(a))<<24)|((b)&0xffffff)))