Made argument of s_strdup const

This commit is contained in:
lucas8
2014-07-31 23:57:50 +02:00
committed by Bert Münnich
parent bb6721549b
commit 3b8a79fb8b
3 changed files with 3 additions and 3 deletions

2
util.c
View File

@ -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;