diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-05-20 12:50:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-05-25 07:49:36 +1000 |
commit | a8ed3f90bf64b77ff9787c2e1c31441d254797b5 (patch) | |
tree | c785a7f015b0a11909e75bc4af126be144b1d1b5 /src/ps2comm.c | |
parent | 345e61fe9290d37b6309f920884a955fb62fa071 (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.c | 2 |
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? */ |