Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/libobjc Provide an extern decl for strlen...
details: https://anonhg.NetBSD.org/src/rev/13a87e509055
branches: trunk
changeset: 515808:13a87e509055
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Oct 05 07:38:22 2001 +0000
description:
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...
diffstat:
gnu/dist/toolchain/libobjc/Object.m | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 582ca1d1e704 -r 13a87e509055 gnu/dist/toolchain/libobjc/Object.m
--- a/gnu/dist/toolchain/libobjc/Object.m Fri Oct 05 07:35:04 2001 +0000
+++ b/gnu/dist/toolchain/libobjc/Object.m Fri Oct 05 07:38:22 2001 +0000
@@ -320,9 +320,8 @@
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, ...
{
Home |
Main Index |
Thread Index |
Old Index