From: Graham Stott Date: Thu, 3 Jan 2002 07:50:49 +0000 (+0000) Subject: class.c (compile_resource_file): Update copyright date. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37b310124a4d3c1fc26315559688d239bb324c9e;p=gcc.git class.c (compile_resource_file): Update copyright date. * class.c (compile_resource_file): Update copyright date. Constify filename parameter. java-tree.h: Update copyright date. (compile_resource_file): Constify filename parameter. From-SVN: r48503 --- 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*));