summaryrefslogtreecommitdiff
path: root/locale/programs/xstrdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/xstrdup.c')
-rw-r--r--locale/programs/xstrdup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/locale/programs/xstrdup.c b/locale/programs/xstrdup.c
index 1b5b415b2b..69ad9950ad 100644
--- a/locale/programs/xstrdup.c
+++ b/locale/programs/xstrdup.c
@@ -1,5 +1,5 @@
/* xstrdup.c -- copy a string with out of memory checking
- Copyright (C) 1990 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1996 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
@@ -24,7 +24,8 @@
#else
#include <strings.h>
#endif
-char *xmalloc ();
+void *xmalloc __P ((size_t n));
+char *xstrdup __P ((char *string));
/* Return a newly allocated copy of STRING. */