projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a0f79
)
tools: fix a compiler warning
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 2 Jun 2014 22:00:00 +0000
(08:00 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 3 Jun 2014 01:01:05 +0000
(11:01 +1000)
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 <peter.hutterer@who-t.net>
tools/event-debug.c
patch
|
blob
|
history
diff --git
a/tools/event-debug.c
b/tools/event-debug.c
index
de6b875
..
3c11b11
100644
(file)
--- 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,
};