public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Nicola Pero" <nicola.pero@meta-innovation.com>
To: "gcc-patches@gnu.org" <gcc-patches@gnu.org>
Subject: libobjc: header cleanup for new API (13)
Date: Sun, 19 Dec 2010 19:05:00 -0000	[thread overview]
Message-ID: <1292781713.02524390@192.168.2.227> (raw)

This patch removes 3 un-needed declarations from objc-private/runtime.h.

Committed to trunk.

Thanks

Index: sendmsg.c
===================================================================
--- sendmsg.c   (revision 168065)
+++ sendmsg.c   (working copy)
@@ -980,7 +980,7 @@
 }
 
 void
-__objc_print_dtable_stats ()
+__objc_print_dtable_stats (void)
 {
   int total = 0;
Index: objc-private/runtime.h
===================================================================
--- objc-private/runtime.h      (revision 168065)
+++ objc-private/runtime.h      (working copy)
@@ -66,7 +66,6 @@
 
 extern int  __objc_init_thread_system(void);    /* thread.c */
 extern int  __objc_fini_thread_system(void);    /* thread.c */
-extern void __objc_print_dtable_stats(void);    /* sendmsg.c */
 extern void __objc_init_class (Class class);  /* init.c */
 extern void class_add_method_list(Class, struct objc_method_list *);
 
@@ -77,9 +76,6 @@
 extern void
 __objc_update_classes_with_methods (struct objc_method *method_a, struct objc_method *method_b); /* class.c */
 
-/* True when class links has been resolved */     
-extern BOOL __objc_class_links_resolved;
-
 /* Number of selectors stored in each of the selector  tables */
 extern unsigned int __objc_selector_max_index;
 
@@ -96,8 +92,6 @@
 #endif 
 
 BOOL __objc_responds_to (id object, SEL sel); /* for internal use only! */
-SEL  __sel_register_typed_name (const char*, const char*, 
-                               struct objc_selector*, BOOL is_const);
 extern void __objc_generate_gc_type_description (Class);
 
 #ifdef __cplusplus
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 168065)
+++ ChangeLog   (working copy)
@@ -1,5 +1,12 @@
 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * objc-private/runtime.h (__objc_class_links_resolved): Removed.
+       (__objc_print_dtable_stats): Removed.
+       (__sel_register_typed_name): Removed.
+       * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
+       
+2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
        if appropriate, after loading the module.


                 reply	other threads:[~2010-12-19 18:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1292781713.02524390@192.168.2.227 \
    --to=nicola.pero@meta-innovation.com \
    --cc=gcc-patches@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).