summaryrefslogtreecommitdiff
path: root/ot_accesslist.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:42:27 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:42:27 +0100
commit5bc4c0663576fd99bb06068e6dfd624690865c89 (patch)
treee1e90e6966abebf960ed9c9d4ed0937be22961ff /ot_accesslist.h
parent33b095eb26ab8be3af48d8bd034262cd5ab03a04 (diff)
Be stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literals
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r--ot_accesslist.h6
1 files changed, 3 insertions, 3 deletions
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);
23 line, and return how many were written to dest */ 23 line, and return how many were written to dest */
24size_t accesslist_parse_hashes(ot_hash *dest, size_t capacity, const char *buf, size_t len); 24size_t accesslist_parse_hashes(ot_hash *dest, size_t capacity, const char *buf, size_t len);
25 25
26extern char *g_accesslist_filename; 26extern const char *g_accesslist_filename;
27#ifdef WANT_DYNAMIC_ACCESSLIST 27#ifdef WANT_DYNAMIC_ACCESSLIST
28extern char *g_accesslist_pipe_add; 28extern const char *g_accesslist_pipe_add;
29extern char *g_accesslist_pipe_delete; 29extern const char *g_accesslist_pipe_delete;
30#endif 30#endif
31 31
32#else 32#else