summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-07-22 13:07:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-08-01 12:23:08 +1000
commit5c03500d8e0f9b10487a930b62190ce08593a534 (patch)
tree8ab8f6912aae307bb18fc60792731169aef9365c
parentf787e8699c14e5ad003d939f9069bd011a3adc3d (diff)
test: make the interfaces static
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/log.c2
-rw-r--r--test/misc.c2
-rw-r--r--test/path.c2
-rw-r--r--test/udev.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/log.c b/test/log.c
index b9dfffc..908af7e 100644
--- a/test/log.c
+++ b/test/log.c
@@ -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,
};