summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2017-10-29 16:04:24 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2017-10-29 16:04:24 +0100
commitd28dddfdea28f59f2fc73cda6f859763e441d672 (patch)
tree5e5061bf27bfa62356edb58dadce358618ef8528 /src/lib/ecore_cocoa
parent87c2b37d8d48fb2153beb7d6d17c145564706ac7 (diff)
ecore_cocoa: consitfy structure fields
This structure is exclusively statically initialized. As none of its fields will be altered, they can all be const.
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_keys.h6
1 files 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 @@
9 9
10struct _ecore_cocoa_keys_s 10struct _ecore_cocoa_keys_s
11{ 11{
12 int code; 12 const int code;
13 const char *name; 13 const char *const name;
14 const char *compose; 14 const char *const compose;
15}; 15};
16 16
17static const struct _ecore_cocoa_keys_s keystable[] = 17static const struct _ecore_cocoa_keys_s keystable[] =