summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/format.h')
-rw-r--r--src/vppinfra/format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/format.h b/src/vppinfra/format.h
index 70882adac99..cad9b0e0ef2 100644
--- a/src/vppinfra/format.h
+++ b/src/vppinfra/format.h
@@ -242,8 +242,8 @@ uword va_unformat (unformat_input_t * i, const char *fmt, va_list * args);
void unformat_init_command_line (unformat_input_t * input, char *argv[]);
/* Setup for unformat of given string. */
-void unformat_init_string (unformat_input_t * input,
- char *string, int string_len);
+void unformat_init_string (unformat_input_t *input, const char *string,
+ int string_len);
always_inline void
unformat_init_cstring (unformat_input_t * input, char *string)