mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 17:30:07 +01:00
Having the declarations in the form of [0...EV_MAX] = NULL together with the actual definitions causes warnings for every true definition if -Woverride-init is enabled. We can drop them for most as they're zero, but still need them for ev_max (which defaults to -1), not zero. So use the GCC pragma to disable the warnings for this file. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| libevdev-int.h | ||
| libevdev-util.h | ||
| libevdev.c | ||
| libevdev.h | ||
| make-event-names.py | ||
| Makefile.am | ||