Provide an extern decl for strlen() all the time, not just if __alpha__

(so this builds on sparc64).  XXX Why we don't just use <string.h> is
beyond me...
This commit is contained in:
thorpej 2001-10-05 07:38:22 +00:00
parent 4e3296004c
commit c3aaaae7a0

View File

@ -320,9 +320,8 @@ extern int errno;
object_get_class_name(self), sel_get_name(aSel)];
}
#ifdef __alpha__
/* XXX Why not just include <string.h>? */
extern size_t strlen(const char*);
#endif
- error:(const char *)aString, ...
{