summaryrefslogtreecommitdiff
path: root/src/ps2comm.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-20 12:50:40 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-25 07:49:36 +1000
commita8ed3f90bf64b77ff9787c2e1c31441d254797b5 (patch)
treec785a7f015b0a11909e75bc4af126be144b1d1b5 /src/ps2comm.c
parent345e61fe9290d37b6309f920884a955fb62fa071 (diff)
Don't use libcwrappers for calloc and free.
The server has deprecated them now, so we get a lot of warnings for little benefit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/ps2comm.c')
-rw-r--r--src/ps2comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ps2comm.c b/src/ps2comm.c
index ae2592f..241f6a6 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -460,7 +460,7 @@ PS2QueryHardware(LocalDevicePtr local)
struct SynapticsHwInfo *synhw;
if (!priv->proto_data)
- priv->proto_data = xcalloc(1, sizeof(struct SynapticsHwInfo));
+ priv->proto_data = calloc(1, sizeof(struct SynapticsHwInfo));
synhw = (struct SynapticsHwInfo*)priv->proto_data;
/* is the synaptics touchpad active? */