aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--util.c2
-rw-r--r--util.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3350679..991cc35 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION = git-20140728
+VERSION = git-20140801
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
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;
diff --git a/util.h b/util.h
index e7a567d..a62043b 100644
--- a/util.h
+++ b/util.h
@@ -63,7 +63,7 @@ typedef struct {
void* s_malloc(size_t);
void* s_realloc(void*, size_t);
-char* s_strdup(char*);
+char* s_strdup(const char*);
void warn(const char*, ...);
void die(const char*, ...);