summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 4e48f17..c7b3bc8 100644
--- a/util.c
+++ b/util.c
@@ -54,7 +54,7 @@ void* s_realloc(void *ptr, size_t size)
return ptr;
}
-char* s_strdup(char *s)
+char* s_strdup(const char *s)
{
char *d = NULL;