* libobjc: header cleanup for new API (13)
@ 2010-12-19 19:05 Nicola Pero
0 siblings, 0 replies; only message in thread
From: Nicola Pero @ 2010-12-19 19:05 UTC (permalink / raw)
To: gcc-patches
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-19 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-19 19:05 libobjc: header cleanup for new API (13) Nicola Pero
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).