From ef24f328d8c21a85d9d83d0d65ee264af10ad15c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 3 Jun 2014 08:00:00 +1000 Subject: [PATCH] tools: fix a compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/event-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/event-debug.c b/tools/event-debug.c index de6b8755..3c11b11d 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -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, };