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