summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-22 03:21:19 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-22 03:21:19 +0000
commit9cc07883ec44e555b01be3d475ebb8f687cc6e44 (patch)
tree46156482c1c398efc4b9468c8105974454e4e1d7 /libiberty
parentdeef0ea629e6f32b9245f8d9ccb379f59c01d84c (diff)
downloadgcc-9cc07883ec44e555b01be3d475ebb8f687cc6e44.tar.gz
Recover patch lost in the sourceware repository:
2005-07-09 Ben Elliston <bje@au.ibm.com> * memcpy.c: Remove ANSI_PROTOTYPES conditional code. * memmove.c: Likewise. * objalloc.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog8
-rw-r--r--libiberty/memcpy.c4
-rw-r--r--libiberty/memmove.c4
-rw-r--r--libiberty/objalloc.c2
4 files changed, 8 insertions, 10 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index c30f54e0e6c..8bd0ce01c6e 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,5 +1,13 @@
2005-07-22 Ben Elliston <bje@gnu.org>
+ Recover patch lost in the sourceware repository:
+ 2005-07-09 Ben Elliston <bje@au.ibm.com>
+ * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
+ * memmove.c: Likewise.
+ * objalloc.c: Likewise.
+
+2005-07-22 Ben Elliston <bje@gnu.org>
+
* configure.ac: Check for a getopt(3) declaration.
* configure, config.in: Regenerate.
diff --git a/libiberty/memcpy.c b/libiberty/memcpy.c
index 8a97b85b06a..9b5b24295df 100644
--- a/libiberty/memcpy.c
+++ b/libiberty/memcpy.c
@@ -13,11 +13,7 @@ Copies @var{length} bytes from memory region @var{in} to region
*/
#include <ansidecl.h>
-#ifdef ANSI_PROTOTYPES
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
void bcopy (const void*, void*, size_t);
diff --git a/libiberty/memmove.c b/libiberty/memmove.c
index 30801f2d1c4..06a24fc2688 100644
--- a/libiberty/memmove.c
+++ b/libiberty/memmove.c
@@ -13,11 +13,7 @@ Copies @var{count} bytes from memory area @var{from} to memory area
*/
#include <ansidecl.h>
-#ifdef ANSI_PROTOTYPES
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
void bcopy (const void*, void*, size_t);
diff --git a/libiberty/objalloc.c b/libiberty/objalloc.c
index d3d2d16e4a5..3ddac2ce4cb 100644
--- a/libiberty/objalloc.c
+++ b/libiberty/objalloc.c
@@ -30,10 +30,8 @@ Boston, MA 02110-1301, USA. */
#include <unixlib.h>
#else
-#ifdef ANSI_PROTOTYPES
/* Get a definition for size_t. */
#include <stddef.h>
-#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>