summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libobjc/ChangeLog4
-rw-r--r--libobjc/sendmsg.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index bd229d11c7f..5f8c0c5497a 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,7 @@
+Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * sendmsg.c (__objc_forward): Delete strlen() declaration.
+
2001-02-08 Geoffrey Keating <geoffk@redhat.com>
* configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index a0c8c309226..61fa28833b3 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -597,7 +597,6 @@ __objc_forward (id object, SEL sel, arglist_t args)
/* The object doesn't recognize the method. Check for responding to
error:. If it does then sent it. */
{
- size_t strlen (const char*);
char msg[256 + strlen ((const char*)sel_get_name (sel))
+ strlen ((const char*)object->class_pointer->name)];