aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-08-29 13:41:25 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-08-29 13:41:25 +0000
commit5f8ded66289f6f090a2a7960241708990d3da807 (patch)
tree271055b104ee1d42602d1a5fcd62c8a6183e3e5e /gcc/objc
parent31029ad7e8b763f6404f794ef3af6aeefcfb6f48 (diff)
downloadgcc-5f8ded66289f6f090a2a7960241708990d3da807.zip
gcc-5f8ded66289f6f090a2a7960241708990d3da807.tar.gz
gcc-5f8ded66289f6f090a2a7960241708990d3da807.tar.bz2
tree.c (tree_code_name): Constify a char*.
* tree.c (tree_code_name): Constify a char*. * tree.h (tree_code_name, decl_printable_name): Likewise. * function.h (struct function): Likewise. * toplev.c (decl_name, decl_printable_name): Likewise. * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise. * objc/objc-act.c (decl_printable_name): Remove redundant prototype. (init_objc): Remove function pointer cast. From-SVN: r28966
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 3bafafe..7259595 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -203,9 +203,6 @@ static int check_methods_accessible PROTO((tree, tree,
static void encode_aggregate_within PROTO((tree, int, int,
int, int));
-/* We handle printing method names ourselves for ObjC */
-extern char *(*decl_printable_name) ();
-
/* Misc. bookkeeping */
typedef struct hashed_entry *hash;
@@ -8213,7 +8210,7 @@ init_objc ()
synth_module_prologue ();
/* Change the default error function */
- decl_printable_name = (char* (*)()) objc_printable_name;
+ decl_printable_name = objc_printable_name;
}
static void