diff options
author | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 07:50:49 +0000 |
---|---|---|
committer | grahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-03 07:50:49 +0000 |
commit | aec3a886604a2dca10b6ef95ca194f143c30814f (patch) | |
tree | cb7640e42c9974b495b671010286599c46ee23f7 /gcc | |
parent | 387732c154123ec06f3c039c4a03257293609675 (diff) | |
download | gcc-aec3a886604a2dca10b6ef95ca194f143c30814f.tar.gz |
* class.c (compile_resource_file): Update copyright date.
Constify filename parameter.
java-tree.h: Update copyright date.
(compile_resource_file): Constify filename parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 68e25b9ca43..bd453062989 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 a96a7f77158..0c9fcd71a7f 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*)); |