test: make the interfaces static

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-07-22 13:07:38 +10:00
parent f787e8699c
commit 5c03500d8e
4 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ static void close_restricted(int fd, void *data)
close(fd);
}
const struct libinput_interface simple_interface = {
static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted,
.close_restricted = close_restricted,
};

View file

@ -43,7 +43,7 @@ static void close_restricted(int fd, void *data)
close(fd);
}
const struct libinput_interface simple_interface = {
static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted,
.close_restricted = close_restricted,
};

View file

@ -49,7 +49,7 @@ static void close_restricted(int fd, void *data)
close(fd);
}
const struct libinput_interface simple_interface = {
static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted,
.close_restricted = close_restricted,
};

View file

@ -44,7 +44,7 @@ static void close_restricted(int fd, void *data)
close(fd);
}
const struct libinput_interface simple_interface = {
static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted,
.close_restricted = close_restricted,
};