summaryrefslogtreecommitdiff
path: root/str.h
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.h
parent9b8d38ab209c6e7e747d6d420f1b105fe858c7eb (diff)
browse: add upload button
Diffstat (limited to 'str.h')
-rw-r--r--str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/str.h b/str.h
index 4d02cfc..76fd186 100644
--- a/str.h
+++ b/str.h
@@ -32,7 +32,7 @@
* Returns a newly allocated string that contains the beginning of the
* provided string up to the provided char.
*/
-char *str_split(char *, char);
+char *str_split(const char *, char);
/*
* Replaces a char in-place in the provided string.