From 787d25edf045de8df1460a6a975186df0f8d402f Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 20 Feb 2016 21:13:19 +0100 Subject: Corrected some const-correctness errors in libconfig Signed-off-by: Haru --- 3rdparty/libconfig/scanctx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '3rdparty/libconfig/scanctx.h') diff --git a/3rdparty/libconfig/scanctx.h b/3rdparty/libconfig/scanctx.h index 004523e2a..a5939ca05 100644 --- a/3rdparty/libconfig/scanctx.h +++ b/3rdparty/libconfig/scanctx.h @@ -40,13 +40,13 @@ struct scan_context FILE *streams[MAX_INCLUDE_DEPTH]; int depth; strbuf_t string; - const char **filenames; + char **filenames; unsigned int num_filenames; }; extern void scanctx_init(struct scan_context *ctx, const char *top_filename); -extern const char **scanctx_cleanup(struct scan_context *ctx, - unsigned int *num_filenames); +extern char **scanctx_cleanup(struct scan_context *ctx, + unsigned int *num_filenames); extern FILE *scanctx_push_include(struct scan_context *ctx, void *prev_buffer, const char **error); -- cgit v1.2.3-70-g09d2