diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-01-15 15:32:09 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-01-25 09:24:31 +1300 |
commit | ea1de3fcdc40d2060bb6d13775005eadd624e767 (patch) | |
tree | 277129a182d09d7996dabf52ce1fbe3f247d28aa /xkb/XKBMisc.c | |
parent | 0f2d297dedeff8bd227df4c498cc668b0e902344 (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/XKBMisc.c')
-rw-r--r-- | xkb/XKBMisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/XKBMisc.c b/xkb/XKBMisc.c index 867906046..71fa04467 100644 --- a/xkb/XKBMisc.c +++ b/xkb/XKBMisc.c @@ -388,7 +388,7 @@ unsigned changed,tmp; nSyms= XkbKeyNumSyms(xkb,key); syms= XkbKeySymsPtr(xkb,key); if (nSyms>IBUF_SIZE) { - interps= _XkbTypedCalloc(nSyms,XkbSymInterpretPtr); + interps= xcalloc(nSyms, sizeof(XkbSymInterpretPtr)); if (interps==NULL) { interps= ibuf; nSyms= IBUF_SIZE; |