This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libobjc] Add missing void in selector.c


libobjc/selector.c was missing a void in the definition of __objc_init_selector_tables. Fixed by the attached patch. Probably obvious, but I don't have write access anyway.

- Alexander Malmberg

libobjc/ChangeLog:

2004-12-12 Alexander Malmberg <alexander@malmberg.org>

	* selector.c (__objc_init_selector_tables): Add missing void to
	definition.
Index: selector.c
===================================================================
RCS file: /cvsroot/gcc/gcc/libobjc/selector.c,v
retrieving revision 1.8
diff -u -r1.8 selector.c
--- selector.c	25 May 2004 19:10:52 -0000	1.8
+++ selector.c	11 Dec 2004 21:09:20 -0000
@@ -38,7 +38,7 @@
 /* Number of selectors stored in each of the above tables */
 unsigned int __objc_selector_max_index = 0;     /* !T:MUTEX */
 
-void __objc_init_selector_tables ()
+void __objc_init_selector_tables (void)
 {
   __objc_selector_array = sarray_new (SELECTOR_HASH_SIZE, 0);
   __objc_selector_names = sarray_new (SELECTOR_HASH_SIZE, 0);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]