summaryrefslogtreecommitdiff
path: root/str.h
diff options
context:
space:
mode:
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.