summaryrefslogtreecommitdiff
path: root/str.c
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2024-09-05 12:58:22 +0200
committerVincent Douillet <vincent@vdouillet.fr>2024-09-06 12:22:20 +0200
commit35a145fd161fb4d4f19aa9820b50438695b94414 (patch)
tree00e9f341d5b7e0a6874efbe9fafc0500cf13cd2d /str.c
parent9b8d38ab209c6e7e747d6d420f1b105fe858c7eb (diff)
browse: add upload button
Diffstat (limited to 'str.c')
-rw-r--r--str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/str.c b/str.c
index 88a83b4..6521fa6 100644
--- a/str.c
+++ b/str.c
@@ -32,7 +32,7 @@
#include <string.h>
char *
-str_split(char *str, char c)
+str_split(const char *str, char c)
{
char *right, *result;
size_t right_len;