xfree86: un-constify inp_driver/inp_identifier
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Feb 2014 04:24:54 +0000 (14:24 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Feb 2014 04:24:54 +0000 (14:24 +1000)
commit46ae9d67e4118fa79bef0f9119d20559dfd6b6c0
treef0faa0b77e19b56fdf5444b72ee3e23ea974801f
parent93bf9544712a39f10557533993d8826b2b67fc9a
xfree86: un-constify inp_driver/inp_identifier

The only place this isn't allocated is during Xorg -configure where we just
statically assing "mouse"/"kbd" and the identifiers for it. Everywhere else
it's strdup'd and then free'd already.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
hw/xfree86/common/xf86Configure.c
hw/xfree86/parser/xf86Parser.h