diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-06-21 14:36:37 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-06-21 14:36:37 +0000 |
commit | b62cc13a208075e7853d29438eb68cd1456c017d (patch) | |
tree | d24924d0ab18e08862172b48ce646fbe00c762da /libobjc/selector.c | |
parent | 4ae361ecf2339a26c1d785925ffc1f1054ab5310 (diff) | |
download | gcc-b62cc13a208075e7853d29438eb68cd1456c017d.zip gcc-b62cc13a208075e7853d29438eb68cd1456c017d.tar.gz gcc-b62cc13a208075e7853d29438eb68cd1456c017d.tar.bz2 |
Object.m (forward, [...]): Fix unused parameter warnings.
* Object.m (forward, read, write): Fix unused parameter warnings.
* encoding.c: Include <stdlib.h>.
(target_flags): Mark with attribute unused.
(atoi): Delete.
* runtime.h (__objc_selector_max_index): Change to unsigned int.
(__objc_generate_gc_type_description): Prototype.
* selector.c (__objc_selector_max_index): Change to unsigned int.
From-SVN: r54884
Diffstat (limited to 'libobjc/selector.c')
-rw-r--r-- | libobjc/selector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/selector.c b/libobjc/selector.c index 7211f90..13a2afd 100644 --- a/libobjc/selector.c +++ b/libobjc/selector.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime selector related functions - Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GNU CC. @@ -38,7 +38,7 @@ static cache_ptr __objc_selector_hash = 0; /* name -> uid !T:MUTEX */ static void register_selectors_from_list(MethodList_t); /* Number of selectors stored in each of the above tables */ -int __objc_selector_max_index = 0; /* !T:MUTEX */ +unsigned int __objc_selector_max_index = 0; /* !T:MUTEX */ void __objc_init_selector_tables() { |