java-tree.h (lang_printable_name): Constify a char*.

* java-tree.h (lang_printable_name): Constify a char*.

	* lang.c (lang_printable_name): Likewise.

From-SVN: r28970
This commit is contained in:
Kaveh R. Ghazi 1999-08-29 13:51:39 +00:00 committed by Kaveh Ghazi
parent 4b731ffa59
commit 1b93a502f9
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
1999-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* java-tree.h (lang_printable_name): Constify a char*.
* lang.c (lang_printable_name): Likewise.
Fri Aug 27 23:31:57 1999 Jeffrey A Law (law@cygnus.com)
* gjavah.c, jcf-write.c, verify.c: Do not use C++ style

View File

@ -565,7 +565,7 @@ extern tree prepare_eh_table_type PROTO ((tree));
extern void java_set_exception_lang_code PROTO ((void));
extern tree generate_name PROTO ((void));
extern void pop_labeled_block PROTO ((void));
extern char *lang_printable_name PROTO ((tree, int));
extern const char *lang_printable_name PROTO ((tree, int));
extern tree maybe_add_interface PROTO ((tree, tree));
extern void set_super_info PROTO ((int, tree, tree, int));
extern int get_access_flags_from_decl PROTO ((tree));

View File

@ -440,7 +440,7 @@ put_decl_node (node)
The value of the hook decl_printable_name is this function,
which is also called directly by lang_print_error. */
char *
const char *
lang_printable_name (decl, v)
tree decl;
int v __attribute__ ((__unused__));