diff options
Diffstat (limited to 'gcc/java/lex.c')
-rw-r--r-- | gcc/java/lex.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c index fbaa23d..5e339de 100644 --- a/gcc/java/lex.c +++ b/gcc/java/lex.c @@ -44,7 +44,7 @@ extern struct obstack *expression_obstack; static int java_lineterminator PROTO ((unicode_t)); static char *java_sprint_unicode PROTO ((struct java_line *, int)); static void java_unicode_2_utf8 PROTO ((unicode_t)); -static void java_lex_error PROTO ((char *, int)); +static void java_lex_error PROTO ((const char *, int)); #ifndef JC1_LITE static int java_is_eol PROTO ((FILE *, int)); static tree build_wfl_node PROTO ((tree)); @@ -54,13 +54,13 @@ static unicode_t java_parse_escape_sequence PROTO ((void)); static int java_letter_or_digit_p PROTO ((unicode_t)); static int java_parse_doc_section PROTO ((unicode_t)); static void java_parse_end_comment PROTO ((unicode_t)); -static unicode_t java_get_unicode PROTO (()); +static unicode_t java_get_unicode PROTO ((void)); static unicode_t java_read_unicode PROTO ((int, int *)); static void java_store_unicode PROTO ((struct java_line *, unicode_t, int)); -static unicode_t java_read_char PROTO (()); -static void java_allocate_new_line PROTO (()); -static void java_unget_unicode PROTO (()); -static unicode_t java_sneak_unicode PROTO (()); +static unicode_t java_read_char PROTO ((void)); +static void java_allocate_new_line PROTO ((void)); +static void java_unget_unicode PROTO ((void)); +static unicode_t java_sneak_unicode PROTO ((void)); void java_init_lex () @@ -1295,7 +1295,7 @@ build_wfl_node (node) static void java_lex_error (msg, forward) - char *msg ATTRIBUTE_UNUSED; + const char *msg ATTRIBUTE_UNUSED; int forward ATTRIBUTE_UNUSED; { #ifndef JC1_LITE |