From: Ben Elliston Date: Sat, 9 Jul 2005 06:56:27 +0000 (+0000) Subject: * memcpy.c: Remove ANSI_PROTOTYPES conditional code. X-Git-Tag: gdb-csl-arm-20051020-branchpoint~778 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c94c2c4ee441eb123bb9ad0ebe106fc5201b3933;p=platform%2Fupstream%2Fbinutils.git * memcpy.c: Remove ANSI_PROTOTYPES conditional code. * memmove.c: Likewise. * objalloc.c: Likewise. --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index dc55ff2..5bbaa1c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2005-07-09 Ben Elliston + + * memcpy.c: Remove ANSI_PROTOTYPES conditional code. + * memmove.c: Likewise. + * objalloc.c: Likewise. + 2005-07-07 Kelley Cook * config.table: Delete file. Move former contents into ... diff --git a/libiberty/memcpy.c b/libiberty/memcpy.c index 8a97b85..9b5b242 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 -#ifdef ANSI_PROTOTYPES #include -#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 30801f2..06a24fc 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 -#ifdef ANSI_PROTOTYPES #include -#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 d3d2d16..3ddac2c 100644 --- a/libiberty/objalloc.c +++ b/libiberty/objalloc.c @@ -30,10 +30,8 @@ Boston, MA 02110-1301, USA. */ #include #else -#ifdef ANSI_PROTOTYPES /* Get a definition for size_t. */ #include -#endif #ifdef HAVE_STDLIB_H #include