jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d28dddfdea28f59f2fc73cda6f859763e441d672

commit d28dddfdea28f59f2fc73cda6f859763e441d672
Author: Jean Guyomarc'h <j...@guyomarch.bzh>
Date:   Sun Oct 29 16:04:24 2017 +0100

    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[] =

-- 


Reply via email to