OSDN Git Service

Recover patch lost in the sourceware repository:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jul 2005 03:21:19 +0000 (03:21 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jul 2005 03:21:19 +0000 (03:21 +0000)
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

libiberty/ChangeLog
libiberty/memcpy.c
libiberty/memmove.c
libiberty/objalloc.c

index c30f54e..8bd0ce0 100644 (file)
@@ -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.
 
index 8a97b85..9b5b242 100644 (file)
@@ -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);
 
index 30801f2..06a24fc 100644 (file)
@@ -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);
 
index d3d2d16..3ddac2c 100644 (file)
@@ -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>