diff options
author | DJ Delorie <dj@redhat.com> | 2001-10-07 22:42:23 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-10-07 22:42:23 +0000 |
commit | 99b581398536aae4ac5653df23c3d12d23359c1d (patch) | |
tree | f3c3680e7a9acd79187b3a2377494425f4ff44af /libiberty/xmalloc.c | |
parent | e6450fe56177c2ce3faf4601ed4a3edf42cd90eb (diff) | |
download | gdb-99b581398536aae4ac5653df23c3d12d23359c1d.zip gdb-99b581398536aae4ac5653df23c3d12d23359c1d.tar.gz gdb-99b581398536aae4ac5653df23c3d12d23359c1d.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/xmalloc.c')
-rw-r--r-- | libiberty/xmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/xmalloc.c b/libiberty/xmalloc.c index 3fc23a9..bf0cf2d 100644 --- a/libiberty/xmalloc.c +++ b/libiberty/xmalloc.c @@ -29,13 +29,13 @@ a program to contain @code{#define malloc xmalloc} in its source. @end deftypefn -@deftypefn Replacement void* xrealloc (void*, size_t) +@deftypefn Replacement void* xrealloc (void *@var{ptr}, size_t @var{size}) Reallocate memory without fail. This routine functions like @code{realloc}, but will behave the same as @code{xmalloc} if memory cannot be found. @end deftypefn -@deftypefn Replacement void* xcalloc (size_t, size_t) +@deftypefn Replacement void* xcalloc (size_t @var{nelem}, size_t @var{elsize}) Allocate memory without fail, and set it to zero. This routine functions like @code{calloc}, but will behave the same as @code{xmalloc} if memory |