From: Peter Hutterer Date: Mon, 2 Jun 2014 22:00:00 +0000 (+1000) Subject: tools: fix a compiler warning X-Git-Tag: 0.3.0~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef24f328d8c21a85d9d83d0d65ee264af10ad15c;p=platform%2Fupstream%2Flibinput.git tools: fix a compiler warning 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 --- diff --git a/tools/event-debug.c b/tools/event-debug.c index de6b875..3c11b11 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, };