summaryrefslogtreecommitdiff
path: root/libiberty/xmemdup.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-03-28 02:09:01 +0000
committerDJ Delorie <dj@delorie.com>2005-03-28 02:09:01 +0000
commit330f7c1a6218d3b4a10b5b571eee65f3d53b64ac (patch)
treec293e7d81ced8094d1f3e020d8eaf36173ea26a4 /libiberty/xmemdup.c
parent78535644ba911dce637b8f8f3f8488859558c605 (diff)
downloadgdb-330f7c1a6218d3b4a10b5b571eee65f3d53b64ac.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/xmemdup.c')
-rw-r--r--libiberty/xmemdup.c5
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);