forked from enlightenment/efl
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:
parent
87c2b37d8d
commit
d28dddfdea
|
@ -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[] =
|
||||
|
|
Loading…
Reference in New Issue