[PATCH 3/4] udev: Add strdups to kill const warnings

Dan Nicholson dbn.lists at gmail.com
Tue Dec 28 15:14:10 PST 2010


On Tue, Dec 28, 2010 at 6:54 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> InputAttributes wants non-const members, and while it appears safe to
> cast it, just leave it be for the moment.
>
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>

The rest of the code (including in drivers) treats them as non-const
anyway, so this is safer.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list