summaryrefslogtreecommitdiffstats
path: root/libobjc/objc
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 14:36:37 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 14:36:37 +0000
commit94627e4fcc8264d6f8b7015b68d588c476d496fc (patch)
treed24924d0ab18e08862172b48ce646fbe00c762da /libobjc/objc
parentbb1fc1502131ff129e028f4199f5d0926735cfd1 (diff)
downloadppe42-gcc-94627e4fcc8264d6f8b7015b68d588c476d496fc.tar.gz
ppe42-gcc-94627e4fcc8264d6f8b7015b68d588c476d496fc.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54884 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc')
-rw-r--r--libobjc/objc/runtime.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index b0eae4a222d..bea9253a8be 100644
--- a/libobjc/objc/runtime.h
+++ b/libobjc/objc/runtime.h
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime internal declarations
- 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.
@@ -65,7 +65,7 @@ extern Method_t search_for_method_in_list(MethodList_t list, SEL op);
extern BOOL __objc_class_links_resolved;
/* Number of selectors stored in each of the selector tables */
-extern int __objc_selector_max_index;
+extern unsigned int __objc_selector_max_index;
/* Mutex locking __objc_selector_max_index and its arrays. */
extern objc_mutex_t __objc_runtime_mutex;
@@ -82,6 +82,7 @@ extern int __objc_runtime_threads_alive;
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);
#endif /* not __objc_runtime_INCLUDE_GNU */
OpenPOWER on IntegriCloud