ecore_cocoa: consitfy structure fields

This structure is exclusively statically initialized. As none of its
fields will be altered, they can all be const.
This commit is contained in:
Jean Guyomarc'h 2017-10-29 16:04:24 +01:00
parent 87c2b37d8d
commit d28dddfdea
1 changed files with 3 additions and 3 deletions

View File

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