tools: fix compiler warning

../tools/shared.c:132:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-04-02 12:03:12 +10:00
committed by bentiss
parent f82c1119bf
commit 7fdcf62bf2

View File

@@ -129,7 +129,7 @@ button_type_to_str(enum ratbag_button_type type)
return str;
}
const static struct map {
static const struct map {
enum ratbag_button_action_special special;
const char *str;
} special_map[] = {