aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-06-22 05:46:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-06-22 05:46:35 +0000
commitb3fb0b5e507318e1e89d170acf5ac63e8bd63c80 (patch)
treef83a23eb4104d0dc33381fd8a8b7c55683da156a /gcc/objc
parente016950d0c095ffdb36c918c7965148e344ca617 (diff)
downloadgcc-b3fb0b5e507318e1e89d170acf5ac63e8bd63c80.zip
gcc-b3fb0b5e507318e1e89d170acf5ac63e8bd63c80.tar.gz
gcc-b3fb0b5e507318e1e89d170acf5ac63e8bd63c80.tar.bz2
Warning fixes:
* mips.c (gpr_mode): Don't say `static' twice. * cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal. * objc/objc-act.c (init_selector): Hide prototype and definition. * optabs.c (gen_cond_trap): Remove unused variable `icode'. * regmove.c (copy_src_to_dest): Likewise for `i'. From-SVN: r20652
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 9f40371..4afc08e 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -192,7 +192,9 @@ static tree generate_protocol_list PROTO((tree));
static void generate_forward_declaration_to_string_table PROTO((void));
static void build_protocol_reference PROTO((tree));
+#if 0
static tree init_selector PROTO((int));
+#endif
static tree build_keyword_selector PROTO((tree));
static tree synth_id_with_class_suffix PROTO((char *, tree));
@@ -2057,6 +2059,7 @@ build_msg_pool_reference (offset)
return expr;
}
+#if 0
static tree
init_selector (offset)
int offset;
@@ -2065,6 +2068,7 @@ init_selector (offset)
TREE_TYPE (expr) = selector_type;
return expr;
}
+#endif
static void
build_selector_translation_table ()