OSDN Git Service

* config/h8300/h8300.md (anonymous patterns): Check that
[pf3gnuchains/gcc-fork.git] / libobjc / sendmsg.c
index b743829..61fa288 100644 (file)
@@ -1,5 +1,6 @@
 /* GNU Objective C Runtime message lookup 
-   Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 1997, 1998,
+   2001 Free Software Foundation, Inc.
    Contributed by Kresten Krab Thorup
 
 This file is part of GNU CC.
@@ -596,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)];
 
@@ -628,13 +628,11 @@ __objc_print_dtable_stats()
 
   objc_mutex_lock(__objc_runtime_mutex);
 
-  printf("memory usage: (%s)\n",
 #ifdef OBJC_SPARSE2
-        "2-level sparse arrays"
+  printf("memory usage: (%s)\n", "2-level sparse arrays");
 #else
-        "3-level sparse arrays"
+  printf("memory usage: (%s)\n", "3-level sparse arrays");
 #endif
-        );
 
   printf("arrays: %d = %ld bytes\n", narrays, 
         (long)narrays*sizeof(struct sarray));