From d28dddfdea28f59f2fc73cda6f859763e441d672 Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Sun, 29 Oct 2017 16:04:24 +0100 Subject: [PATCH] ecore_cocoa: consitfy structure fields This structure is exclusively statically initialized. As none of its fields will be altered, they can all be const. --- src/lib/ecore_cocoa/ecore_cocoa_keys.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h index 4eda272cf3..00ae04590a 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h @@ -9,9 +9,9 @@ struct _ecore_cocoa_keys_s { - int code; - const char *name; - const char *compose; + const int code; + const char *const name; + const char *const compose; }; static const struct _ecore_cocoa_keys_s keystable[] =