summaryrefslogtreecommitdiff
path: root/libtac/lib/xalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtac/lib/xalloc.h')
-rw-r--r--libtac/lib/xalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtac/lib/xalloc.h b/libtac/lib/xalloc.h
index 70bc666..196cc9f 100644
--- a/libtac/lib/xalloc.h
+++ b/libtac/lib/xalloc.h
@@ -27,7 +27,7 @@
__BEGIN_DECLS
extern void *xcalloc(size_t nmemb, size_t size);
extern void *xrealloc(void *ptr, size_t size);
-extern char *xstrdup(char *s);
+extern char *xstrdup(const char *s);
__END_DECLS
#endif