summaryrefslogtreecommitdiff
path: root/xkb/xkbEvents.c
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 /xkb/xkbEvents.c
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 'xkb/xkbEvents.c')
-rw-r--r--xkb/xkbEvents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c
index 8fb49c1d8..58f75b306 100644
--- a/xkb/xkbEvents.c
+++ b/xkb/xkbEvents.c
@@ -1041,7 +1041,7 @@ XkbInterestPtr interest;
return ((interest->resource==id)?interest:NULL);
interest = interest->next;
}
- interest = _XkbTypedAlloc(XkbInterestRec);
+ interest = xalloc(sizeof(XkbInterestRec));
bzero(interest,sizeof(XkbInterestRec));
if (interest) {
interest->dev = dev;