summaryrefslogtreecommitdiffstats
path: root/gnulib-local/lib/xstrdup.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-11-06 20:15:10 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:19 +0200
commite86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f (patch)
tree160564919f1fea7fbfa5d4a5fcd294867012ca6a /gnulib-local/lib/xstrdup.c
parent9484d0c4feb9cc4efe47f69967b406e2b960596b (diff)
downloadexternal_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.zip
external_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.tar.gz
external_gettext-e86f6c583e542d6a1d2d2b5f6bfaa5c155654f0f.tar.bz2
New macros XMALLOC, XNMALLOC.
Diffstat (limited to 'gnulib-local/lib/xstrdup.c')
-rw-r--r--gnulib-local/lib/xstrdup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnulib-local/lib/xstrdup.c b/gnulib-local/lib/xstrdup.c
index b63af65..cb3c53b 100644
--- a/gnulib-local/lib/xstrdup.c
+++ b/gnulib-local/lib/xstrdup.c
@@ -27,5 +27,5 @@
char *
xstrdup (const char *string)
{
- return strcpy ((char *) xmalloc (strlen (string) + 1), string);
+ return strcpy (XNMALLOC (strlen (string) + 1, char), string);
}