aboutsummaryrefslogtreecommitdiff
path: root/libiberty/concat.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-17 22:35:28 +0000
committerDJ Delorie <dj@redhat.com>2001-10-17 22:35:28 +0000
commit5d852400e9653036531a2c2db5cce7433d936469 (patch)
treee7a2579c104d46d386dc80318c32d0c94dc46462 /libiberty/concat.c
parent03dd37c302866305fa6d48988f558c4eba2bbabe (diff)
downloadgdb-5d852400e9653036531a2c2db5cce7433d936469.zip
gdb-5d852400e9653036531a2c2db5cce7433d936469.tar.gz
gdb-5d852400e9653036531a2c2db5cce7433d936469.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/concat.c')
-rw-r--r--libiberty/concat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/concat.c b/libiberty/concat.c
index a7e6428..98b20e1 100644
--- a/libiberty/concat.c
+++ b/libiberty/concat.c
@@ -21,10 +21,10 @@ Boston, MA 02111-1307, USA. */
/*
-@deftypefn Extension char* concat (char *@var{s1}, char *@var{s2}, ..., @code{NULL})
+@deftypefn Extension char* concat (const char *@var{s1}, const char *@var{s2}, @dots{}, @code{NULL})
Concatenate zero or more of strings and return the result in freshly
-xmalloc'd memory. Returns @code{NULL} if insufficient memory is
+@code{xmalloc}ed memory. Returns @code{NULL} if insufficient memory is
available. The argument list is terminated by the first @code{NULL}
pointer encountered. Pointers to empty strings are ignored.
@@ -174,7 +174,7 @@ concat VPARAMS ((const char *first, ...))
/*
-@deftypefn Extension char* reconcat (char *@var{optr}, char *@var{s1}, ..., @code{NULL})
+@deftypefn Extension char* reconcat (char *@var{optr}, const char *@var{s1}, @dots{}, @code{NULL})
Same as @code{concat}, except that if @var{optr} is not @code{NULL} it
is freed after the string is created. This is intended to be useful