summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-08-05 21:15:50 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-08-05 21:15:50 +0200
commit360f1c7b70c70749011d7ceb3e5e1d9bf75dee97 (patch)
treed15fcd8c8d1e70fe828e67fc824093c57c1a058b
parent39fb4c3d67e38939e04585832fffbbcd33c2450b (diff)
downloadefl-360f1c7b70c70749011d7ceb3e5e1d9bf75dee97.tar.gz
eo2: remove 'const' where is should not be
-rw-r--r--src/lib/eo/eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 0de94fc369..c57c9fe094 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -98,7 +98,7 @@ _dich_func_get(const _Eo_Class *klass, Eo_Op op)
}
static inline void
-_dich_func_set(const _Eo_Class *klass, Eo_Op op, eo_op_func_type func)
+_dich_func_set(_Eo_Class *klass, Eo_Op op, eo_op_func_type func)
{
size_t idx1 = DICH_CHAIN1(op);
Dich_Chain1 *chain1 = &klass->chain[idx1];
@@ -562,7 +562,7 @@ eo2_api_funcs_cmp(const void *p1, const void *p2)
}
EAPI void
-_eo2_class_funcs_set(const _Eo_Class *klass)
+_eo2_class_funcs_set(_Eo_Class *klass)
{
int op_id;
const Eo2_Op_Description *api_desc;