OSDN Git Service

* class.c (compile_resource_file): Update copyright date.
authorgrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jan 2002 07:50:49 +0000 (07:50 +0000)
committergrahams <grahams@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jan 2002 07:50:49 +0000 (07:50 +0000)
        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

gcc/java/class.c
gcc/java/java-tree.h

index 68e25b9..bd45306 100644 (file)
@@ -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;
index a96a7f7..0c9fcd7 100644 (file)
@@ -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*));