Commit 9c14a607 by Ovidiu Predescu Committed by Ovidiu Predescu

Removed the explicit prototypes for strlen and memcpy on 64-bit

platforms (Suggested by Rodney Brown <rdb@cup.hp.com>).

From-SVN: r35326
parent 2dacb3e9
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) 2000-05-12 H.J. Lu (hjl@gnu.org)
* Makefile.in (GTHREAD_FLAGS): New. * Makefile.in (GTHREAD_FLAGS): New.
......
...@@ -320,10 +320,6 @@ extern int errno; ...@@ -320,10 +320,6 @@ extern int errno;
object_get_class_name(self), sel_get_name(aSel)]; 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, ... - error:(const char *)aString, ...
{ {
#define FMT "error: %s (%s)\n%s\n" #define FMT "error: %s (%s)\n%s\n"
......
...@@ -44,10 +44,6 @@ const char* __objc_sparse2_id = "2 level sparse indices"; ...@@ -44,10 +44,6 @@ const char* __objc_sparse2_id = "2 level sparse indices";
const char* __objc_sparse3_id = "3 level sparse indices"; const char* __objc_sparse3_id = "3 level sparse indices";
#endif #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 /* This function removes any structures left over from free operations
that were not safe in a multi-threaded environment. */ that were not safe in a multi-threaded environment. */
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment