diff options
author | Ovidiu Predescu <ovidiu@cup.hp.com> | 2000-07-29 07:11:04 +0000 |
---|---|---|
committer | Ovidiu Predescu <ovidiu@gcc.gnu.org> | 2000-07-29 07:11:04 +0000 |
commit | 9c14a607e85cc4dff4c70abd29d9298d2353e226 (patch) | |
tree | f304dc7b4422c6350cb509eedbda16f376abaa01 | |
parent | 2dacb3e9cef2f935c695eaf89b64b48f5651a70f (diff) | |
download | gcc-9c14a607e85cc4dff4c70abd29d9298d2353e226.zip gcc-9c14a607e85cc4dff4c70abd29d9298d2353e226.tar.gz gcc-9c14a607e85cc4dff4c70abd29d9298d2353e226.tar.bz2 |
Removed the explicit prototypes for strlen and memcpy on 64-bit
platforms (Suggested by Rodney Brown <rdb@cup.hp.com>).
From-SVN: r35326
-rw-r--r-- | libobjc/ChangeLog | 6 | ||||
-rw-r--r-- | libobjc/Object.m | 4 | ||||
-rw-r--r-- | libobjc/sarray.c | 4 |
3 files changed, 6 insertions, 8 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index d94fcd8..70987e9 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com> + + * sarray.c, Object.m: Removed the explicit prototypes for strlen + and memcpy on 64-bit platforms (Suggested by Rodney Brown + <rdb@cup.hp.com>). + 2000-05-12 H.J. Lu (hjl@gnu.org) * Makefile.in (GTHREAD_FLAGS): New. diff --git a/libobjc/Object.m b/libobjc/Object.m index 0bec4c9..f5f3294 100644 --- a/libobjc/Object.m +++ b/libobjc/Object.m @@ -320,10 +320,6 @@ extern int errno; object_get_class_name(self), sel_get_name(aSel)]; } -#if defined(__alpha__) || (defined (_ARCH_PPC) && defined (__64BIT__)) || (defined(__sparc__) && (defined(__sparcv9) || defined(__arch64__))) || (defined(__ia64__) && defined(__LP64__)) -extern size_t strlen(const char*); -#endif - - error:(const char *)aString, ... { #define FMT "error: %s (%s)\n%s\n" diff --git a/libobjc/sarray.c b/libobjc/sarray.c index a71432ea..4625fbe 100644 --- a/libobjc/sarray.c +++ b/libobjc/sarray.c @@ -44,10 +44,6 @@ const char* __objc_sparse2_id = "2 level sparse indices"; const char* __objc_sparse3_id = "3 level sparse indices"; #endif -#if defined(__alpha__) || (defined(__sparc__) && (defined(__sparcv9) || defined(__arch64__))) || (defined(__ia64__) && defined(__LP64__)) -const void *memcpy (void*, const void*, size_t); -#endif - /* This function removes any structures left over from free operations that were not safe in a multi-threaded environment. */ void |