Commit 5c03500d authored by Peter Hutterer's avatar Peter Hutterer

test: make the interfaces static

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f787e869
...@@ -45,7 +45,7 @@ static void close_restricted(int fd, void *data) ...@@ -45,7 +45,7 @@ static void close_restricted(int fd, void *data)
close(fd); close(fd);
} }
const struct libinput_interface simple_interface = { static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted, .open_restricted = open_restricted,
.close_restricted = close_restricted, .close_restricted = close_restricted,
}; };
......
...@@ -43,7 +43,7 @@ static void close_restricted(int fd, void *data) ...@@ -43,7 +43,7 @@ static void close_restricted(int fd, void *data)
close(fd); close(fd);
} }
const struct libinput_interface simple_interface = { static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted, .open_restricted = open_restricted,
.close_restricted = close_restricted, .close_restricted = close_restricted,
}; };
......
...@@ -49,7 +49,7 @@ static void close_restricted(int fd, void *data) ...@@ -49,7 +49,7 @@ static void close_restricted(int fd, void *data)
close(fd); close(fd);
} }
const struct libinput_interface simple_interface = { static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted, .open_restricted = open_restricted,
.close_restricted = close_restricted, .close_restricted = close_restricted,
}; };
......
...@@ -44,7 +44,7 @@ static void close_restricted(int fd, void *data) ...@@ -44,7 +44,7 @@ static void close_restricted(int fd, void *data)
close(fd); close(fd);
} }
const struct libinput_interface simple_interface = { static const struct libinput_interface simple_interface = {
.open_restricted = open_restricted, .open_restricted = open_restricted,
.close_restricted = close_restricted, .close_restricted = close_restricted,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment