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

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

From-SVN: r35326
This commit is contained in:
Ovidiu Predescu 2000-07-29 07:11:04 +00:00 committed by Ovidiu Predescu
parent 2dacb3e9ce
commit 9c14a607e8
3 changed files with 6 additions and 8 deletions

View File

@ -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.

View File

@ -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"

View File

@ -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