diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-22 13:07:38 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-08-01 12:23:08 +1000 |
commit | 5c03500d8e0f9b10487a930b62190ce08593a534 (patch) | |
tree | 8ab8f6912aae307bb18fc60792731169aef9365c | |
parent | f787e8699c14e5ad003d939f9069bd011a3adc3d (diff) |
test: make the interfaces static
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | test/log.c | 2 | ||||
-rw-r--r-- | test/misc.c | 2 | ||||
-rw-r--r-- | test/path.c | 2 | ||||
-rw-r--r-- | test/udev.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -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, }; diff --git a/test/misc.c b/test/misc.c index ade053f..dec4ee4 100644 --- a/test/misc.c +++ b/test/misc.c @@ -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, }; diff --git a/test/path.c b/test/path.c index 729ad86..21b5fa0 100644 --- a/test/path.c +++ b/test/path.c @@ -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, }; diff --git a/test/udev.c b/test/udev.c index 9296e94..7c294c5 100644 --- a/test/udev.c +++ b/test/udev.c @@ -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, }; |