Browse Source

merge from gcc

gdb-csl-arm-20051020-branch
DJ Delorie 21 years ago
parent
commit
c750388a85
  1. 8
      libiberty/ChangeLog
  2. 4
      libiberty/memcpy.c
  3. 4
      libiberty/memmove.c
  4. 2
      libiberty/objalloc.c

8
libiberty/ChangeLog

@ -1,3 +1,11 @@
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.

4
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);

4
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);

2
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>

Loading…
Cancel
Save