aboutsummaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 7bdd5303..d9726618 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -31,7 +31,7 @@ xmalloc (int n)
return(p);
}
-char *xstrdup(char *s)
+char *xstrdup(const char *s)
{
char *p;
p = (char *) xmalloc(strlen(s)+1);