Fix compiler warnings regarding const modifiers

This commit is contained in:
2026-06-09 13:49:05 +02:00
parent 9ea40b4793
commit 78ee3dc755
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ int strcpy_rem_webroot(char *dst, const char *src, const char *webroot) {
return 0;
}
int str_trim(char **start, char **end) {
int str_trim(const char **start, const char **end) {
if (start == NULL || end == NULL || *start == NULL || *end == NULL)
return -1;
@@ -204,7 +204,7 @@ int str_trim(char **start, char **end) {
return 0;
}
int str_trim_lws(char **start, char **end) {
int str_trim_lws(const char **start, const char **end) {
if (start == NULL || end == NULL || *start == NULL || *end == NULL)
return -1;