X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=lib%2Fxmalloc.c;h=e1ab3140b79e08c5b2c0077deb564afe041b2c2d;hp=e86fb0707c687a64c4781f9f665bbee7e97a4eac;hb=8ea23d9ec3f2fe0c113eac5caafb7c2bd03f3016;hpb=54ef13bf75a7a1e787716ce395ffe847fa74673f diff --git a/lib/xmalloc.c b/lib/xmalloc.c index e86fb07..e1ab314 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -127,7 +127,7 @@ xrealloc (p, n) /* Duplicate a string */ -char *xstrdup(char *s) +char *xstrdup(const char *s) { char *p;