From 5bc4c0663576fd99bb06068e6dfd624690865c89 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Oct 2026 19:42:27 +0100 Subject: Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literals --- ot_accesslist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ot_accesslist.h') diff --git a/ot_accesslist.h b/ot_accesslist.h index 30aaebd..9dfdd95 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h @@ -23,10 +23,10 @@ void accesslist_cleanup(void); line, and return how many were written to dest */ size_t accesslist_parse_hashes(ot_hash *dest, size_t capacity, const char *buf, size_t len); -extern char *g_accesslist_filename; +extern const char *g_accesslist_filename; #ifdef WANT_DYNAMIC_ACCESSLIST -extern char *g_accesslist_pipe_add; -extern char *g_accesslist_pipe_delete; +extern const char *g_accesslist_pipe_add; +extern const char *g_accesslist_pipe_delete; #endif #else -- cgit v1.3