summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-29 07:11:04 +0000
committerovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-29 07:11:04 +0000
commit6d09d1f2a3b182a8ee8d5aeb9ad827521825e90b (patch)
treef304dc7b4422c6350cb509eedbda16f376abaa01 /libobjc
parent991a4ca19d26fd44693bf05fbe1eb6c5b5adfab1 (diff)
downloadgcc-6d09d1f2a3b182a8ee8d5aeb9ad827521825e90b.tar.gz
Removed the explicit prototypes for strlen and memcpy on 64-bit
platforms (Suggested by Rodney Brown <rdb@cup.hp.com>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35326 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog6
-rw-r--r--libobjc/Object.m4
-rw-r--r--libobjc/sarray.c4
3 files changed, 6 insertions, 8 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index d94fcd87374..70987e98753 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 0bec4c9f801..f5f329482c9 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 a71432ea59f..4625fbe4559 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