diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-07-09 06:56:27 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-07-09 06:56:27 +0000 |
commit | 3c59818d55829603fd5540593ed1f7a88349b5a9 (patch) | |
tree | c07b7027de836c40acfabbeae760d410407313dc /libiberty | |
parent | fbf1edc791ddb9d8f40eedcccbe5438d56cac732 (diff) | |
download | gdb-3c59818d55829603fd5540593ed1f7a88349b5a9.tar.gz |
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
* memmove.c: Likewise.
* objalloc.c: Likewise.
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rw-r--r-- | libiberty/memcpy.c | 4 | ||||
-rw-r--r-- | libiberty/memmove.c | 4 | ||||
-rw-r--r-- | libiberty/objalloc.c | 2 |
4 files changed, 6 insertions, 10 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index dc55ff2e546..5bbaa1c3588 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2005-07-09 Ben Elliston <bje@au.ibm.com> + + * memcpy.c: Remove ANSI_PROTOTYPES conditional code. + * memmove.c: Likewise. + * objalloc.c: Likewise. + 2005-07-07 Kelley Cook <kcook@gcc.gnu.org> * config.table: Delete file. Move former contents into ... 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> |