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
|
struct _ecore_cocoa_keys_s
|
||||||
{
|
{
|
||||||
int code;
|
const int code;
|
||||||
const char *name;
|
const char *const name;
|
||||||
const char *compose;
|
const char *const compose;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct _ecore_cocoa_keys_s keystable[] =
|
static const struct _ecore_cocoa_keys_s keystable[] =
|
||||||
|
|
Loading…
Reference in New Issue