diff options
| -rw-r--r-- | gcc/java/class.c | 4 | ||||
| -rw-r--r-- | gcc/java/java-tree.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 68e25b9..bd45306 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -1,5 +1,5 @@ /* Functions related to building classes and their related objects. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -853,7 +853,7 @@ hashUtf8String (str, len) void compile_resource_file (name, filename) char *name; - char *filename; + const char *filename; { struct stat stat_buf; int fd; diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index a96a7f7..0c9fcd7 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1,6 +1,7 @@ /* Definitions for parsing and type checking for the GNU compiler for the Java(TM) language. - Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -1056,7 +1057,7 @@ extern tree build_dtable_decl PARAMS ((tree)); extern tree build_internal_class_name PARAMS ((tree)); extern tree build_constants_constructor PARAMS ((void)); extern tree build_ref_from_constant_pool PARAMS ((int)); -void compile_resource_file PARAMS ((char *, char *)); +extern void compile_resource_file PARAMS ((char *, const char *)); extern tree build_utf8_ref PARAMS ((tree)); extern tree ident_subst PARAMS ((const char*, int, const char*, int, int, const char*)); |
