Add const to function definition.
This commit is contained in:
1 parent
e8781e2860
commit
138d3fe4eb
1 file changed
+1
-1
@@ -274,7 +274,7 @@
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
static inline type * \
|
static inline type * \
|
||||||
M_C3(list_, name, _ref)(list_it_t v) \
|
M_C3(list_, name, _ref)(const list_it_t v) \
|
||||||
{ \
|
{ \
|
||||||
assert(v != NULL && v[0].l[0] != NULL); \
|
assert(v != NULL && v[0].l[0] != NULL); \
|
||||||
return &(v[0].l[0]->data); \
|
return &(v[0].l[0]->data); \
|
||||||
|
|||||||
Reference in new issue
Block a user