summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-17 09:59:29 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-17 10:19:11 +1030
commit8d0cb507ae568c8da92f10ff1188d797bcaa3d1a (patch)
treec4ad1d4abd686628d8e3d7a5f62785b0e422aedd /hw/dmx
parent8a23707b866c11807e01056db97afec56e9b19c8 (diff)
dmx: avoid hilarious #define Xcalloc xcalloc game.
Diffstat (limited to 'hw/dmx')
-rw-r--r--hw/dmx/input/dmxmotion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxmotion.c b/hw/dmx/input/dmxmotion.c
index e7f5b5919..73580a215 100644
--- a/hw/dmx/input/dmxmotion.c
+++ b/hw/dmx/input/dmxmotion.c
@@ -113,7 +113,7 @@ void dmxPointerPutMotionEvent(DeviceIntPtr pDevice,
* DMX_MOTION_SIZE);
dmxLocal->head = 0;
dmxLocal->tail = 0;
- dmxLocal->valuators = xcalloc(sizeof(*dmxLocal->valuators), numAxes);
+ dmxLocal->valuators = calloc(sizeof(*dmxLocal->valuators), numAxes);
} else {
if (++dmxLocal->tail >= DMX_MOTION_SIZE) dmxLocal->tail = 0;
if (dmxLocal->head == dmxLocal->tail)