mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-14 17:00:41 +02:00
tools: fix a compiler warning
event-debug.c: At top level:
event-debug.c:129:1: warning: ‘static’ is not at beginning of declaration
[-Wold-style-declaration]
const static struct libinput_interface interface = {
^
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
50a0f79fe3
commit
ef24f328d8
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ close_restricted(int fd, void *user_data)
|
|||
close(fd);
|
||||
}
|
||||
|
||||
const static struct libinput_interface interface = {
|
||||
static const struct libinput_interface interface = {
|
||||
.open_restricted = open_restricted,
|
||||
.close_restricted = close_restricted,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue