From 7fdcf62bf29e135f585c955dc56fb2ed0cf10122 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Sun, 2 Apr 2017 12:03:12 +1000 Subject: [PATCH] tools: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../tools/shared.c:132:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] Signed-off-by: Peter Hutterer --- tools/shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/shared.c b/tools/shared.c index 745b1021..7ce7cbfb 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -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[] = {