Add missing const

This commit is contained in:
Patrick Pelissier committed 2018-11-01 16:11:12 +01:00
1 parent 7f7230be90
commit 74aa514903
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1020,7 +1020,7 @@
\
M_IF_METHOD_BOTH(OUT_STR, key_oplist, value_oplist)( \
static inline void \
M_C(name, _out_str)(FILE *file, tree_t t1) \
M_C(name, _out_str)(FILE *file, tree_t const t1) \
{ \
BPTREEI_CONTRACT(N, key_oplist, t1); \
assert (file != NULL); \
+2 -2
View File
@@ -889,7 +889,7 @@ typedef enum {
\
M_IF_METHOD(GET_STR, oplist)( \
static inline void M_C(name, _get_str)(string_t str, \
const tree_t t1, bool append) { \
tree_t const t1, bool append) { \
RBTREEI_CONTRACT(t1); \
assert(str != NULL); \
(append ? string_cat_str : string_set_str) (str, "["); \
@@ -911,7 +911,7 @@ typedef enum {
\
M_IF_METHOD(OUT_STR, oplist)( \
static inline void \
M_C(name, _out_str)(FILE *file, tree_t rbtree) \
M_C(name, _out_str)(FILE *file, tree_t const rbtree) \
{ \
RBTREEI_CONTRACT(rbtree); \
assert (file != NULL); \