diff options
author | DJ Delorie <dj@delorie.com> | 2005-03-28 02:09:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-03-28 02:09:01 +0000 |
commit | 330f7c1a6218d3b4a10b5b571eee65f3d53b64ac (patch) | |
tree | c293e7d81ced8094d1f3e020d8eaf36173ea26a4 /libiberty/xmemdup.c | |
parent | 78535644ba911dce637b8f8f3f8488859558c605 (diff) | |
download | gdb-330f7c1a6218d3b4a10b5b571eee65f3d53b64ac.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/xmemdup.c')
-rw-r--r-- | libiberty/xmemdup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libiberty/xmemdup.c b/libiberty/xmemdup.c index 0dae37d8923..d4831163a20 100644 --- a/libiberty/xmemdup.c +++ b/libiberty/xmemdup.c @@ -31,10 +31,7 @@ allocated, the remaining memory is zeroed. #endif PTR -xmemdup (input, copy_size, alloc_size) - const PTR input; - size_t copy_size; - size_t alloc_size; +xmemdup (const PTR input, size_t copy_size, size_t alloc_size) { PTR output = xcalloc (1, alloc_size); return (PTR) memcpy (output, input, copy_size); |