summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ecbor.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ecbor.h.in b/include/ecbor.h.in
index dab6c44..daaf54a 100644
--- a/include/ecbor.h.in
+++ b/include/ecbor.h.in
@@ -263,10 +263,10 @@ extern ecbor_item_t
ecbor_uint (uint64_t value);
extern ecbor_item_t
-ecbor_bstr (uint8_t *bstr, size_t length);
+ecbor_bstr (const uint8_t *bstr, size_t length);
extern ecbor_item_t
-ecbor_str (char *str, size_t length);
+ecbor_str (const char *str, size_t length);
extern ecbor_item_t
ecbor_tag (ecbor_item_t *child, uint64_t tag_value);