summaryrefslogtreecommitdiff
path: root/lib/xstrdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrdup.c')
-rw-r--r--lib/xstrdup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index 3ce69e9..f0ca8db 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -1,6 +1,6 @@
/* xstrdup.c: strdup with error checking.
-Copyright (C) 1992 Free Software Foundation, Inc.
+Copyright (C) 1992, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Return a copy of S in new storage. */
string
-xstrdup P1C(string, s)
+xstrdup P1C(const_string, s)
{
string new_string = (string) xmalloc (strlen (s) + 1);
return strcpy (new_string, s);