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_http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_http.h') diff --git a/ot_http.h b/ot_http.h index 965820f..abad83a 100644 --- a/ot_http.h +++ b/ot_http.h @@ -37,7 +37,7 @@ ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws); ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); -extern char *g_stats_path; +extern const char *g_stats_path; extern ssize_t g_stats_path_len; #endif -- cgit v1.3