aboutsummaryrefslogtreecommitdiff
path: root/src/emuWheel.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-20 12:40:13 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-05-28 09:24:28 +1000
commit4c216242404d749b9ae8ec181146689f89119cb4 (patch)
tree0594a5f1410e608e370a5a88e3c10657fafc6342 /src/emuWheel.c
parentMove mode declaration, it's not const either. (diff)
downloadxf86-input-evdev-4c216242404d749b9ae8ec181146689f89119cb4.tar.gz
xf86-input-evdev-4c216242404d749b9ae8ec181146689f89119cb4.tar.bz2
xf86-input-evdev-4c216242404d749b9ae8ec181146689f89119cb4.zip
Remove libc wrappers for malloc, calloc and free.
Evdev is Linux-only, and we've had the above calls for quite a while now. Plus, now that the server has removed them they generate _a lot_ of warnings otherwise. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r--src/emuWheel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c
index 35e6931..9a53211 100644
--- a/src/emuWheel.c
+++ b/src/emuWheel.c
@@ -233,12 +233,12 @@ EvdevWheelEmuHandleButtonMap(InputInfoPtr pInfo, WheelAxisPtr pAxis, char* axis_
xf86Msg(X_WARNING, "%s: Invalid %s value:\"%s\"\n",
pInfo->name, axis_name, option_string);
}
- xfree(option_string);
+ free(option_string);
/* Clean up and log what happened */
if (msg) {
xf86Msg(X_CONFIG, "%s: %s: %s\n",pInfo->name, axis_name, msg);
- xfree(msg);
+ free(msg);
return TRUE;
}
}