This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcjx] Patch: FYI: header guard names


I'm checking this in on the gcjx branch.

The header guard names in gcc/java/ were chosen back when this code
was in the gcjx tree.  I renamed them to be more clear.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* util.h: Changed header guard names.
	* treegen.hh: Changed header guard names.
	* hooks.hh: Changed header guard names.
	* glue.hh: Changed header guard names.
	* classobj.hh: Changed header guard names.
	* builtins.hh: Changed header guard names.
	* abi.hh: Changed header guard names.
	* tree.hh: Changed header guard names.

Index: abi.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/abi.hh,v
retrieving revision 1.1.2.10
diff -u -r1.1.2.10 abi.hh
--- abi.hh 4 Apr 2005 00:52:42 -0000 1.1.2.10
+++ abi.hh 4 Apr 2005 04:29:10 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_ABI_HH
-#define GCC_TREE_ABI_HH
+#ifndef GCC_JAVA_ABI_HH
+#define GCC_JAVA_ABI_HH
 
 class tree_builtins;
 
@@ -269,4 +269,4 @@
   }
 };
 
-#endif // GCC_TREE_ABI_HH
+#endif // GCC_JAVA_ABI_HH
Index: builtins.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/builtins.hh,v
retrieving revision 1.1.2.15
diff -u -r1.1.2.15 builtins.hh
--- builtins.hh 4 Apr 2005 00:52:42 -0000 1.1.2.15
+++ builtins.hh 4 Apr 2005 04:29:10 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_BUILTINS_HH
-#define GCC_TREE_BUILTINS_HH
+#ifndef GCC_JAVA_BUILTINS_HH
+#define GCC_JAVA_BUILTINS_HH
 
 #include "java/abi.hh"
 
@@ -145,4 +145,4 @@
   tree get_itable_decl (model_class *);
 };
 
-#endif // GCC_TREE_BUILTINS_HH
+#endif // GCC_JAVA_BUILTINS_HH
Index: classobj.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/classobj.hh,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 classobj.hh
--- classobj.hh 3 Apr 2005 23:50:05 -0000 1.1.2.7
+++ classobj.hh 4 Apr 2005 04:29:10 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_CLASSOBJ_HH
-#define GCC_TREE_CLASSOBJ_HH
+#ifndef GCC_JAVA_CLASSOBJ_HH
+#define GCC_JAVA_CLASSOBJ_HH
 
 /// This is used to create an instance of a given record.
 class record_creator
@@ -92,4 +92,4 @@
   }
 };
 
-#endif // GCC_TREE_CLASSOBJ_HH
+#endif // GCC_JAVA_CLASSOBJ_HH
Index: glue.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/glue.hh,v
retrieving revision 1.1.2.10
diff -u -r1.1.2.10 glue.hh
--- glue.hh 25 Mar 2005 01:56:32 -0000 1.1.2.10
+++ glue.hh 4 Apr 2005 04:29:11 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_GLUE_HH
-#define GCC_TREE_GLUE_HH
+#ifndef GCC_JAVA_GLUE_HH
+#define GCC_JAVA_GLUE_HH
 
 // Note that this header must be included before any header specific
 // to this front end.  See the '#undef's below to understand why.
@@ -104,4 +104,4 @@
 #include "java/hooks.hh"
 #include "java/classobj.hh"
 
-#endif // GCC_TREE_GLUE_HH
+#endif // GCC_JAVA_GLUE_HH
Index: hooks.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/hooks.hh,v
retrieving revision 1.1.2.9
diff -u -r1.1.2.9 hooks.hh
--- hooks.hh 27 Mar 2005 03:01:24 -0000 1.1.2.9
+++ hooks.hh 4 Apr 2005 04:29:11 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_HOOKS_HH
-#define GCC_TREE_HOOKS_HH
+#ifndef GCC_JAVA_HOOKS_HH
+#define GCC_JAVA_HOOKS_HH
 
 // See decl.cc for documentation of these globals.
 extern GTY (()) tree all_decls;
@@ -138,4 +138,4 @@
   void initialize_decls ();
 };
 
-#endif // GCC_TREE_HOOKS_HH
+#endif // GCC_JAVA_HOOKS_HH
Index: tree.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/tree.hh,v
retrieving revision 1.1.2.12
diff -u -r1.1.2.12 tree.hh
--- tree.hh 4 Apr 2005 00:50:33 -0000 1.1.2.12
+++ tree.hh 4 Apr 2005 04:29:11 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_TREE_HH
-#define GCC_TREE_TREE_HH
+#ifndef GCC_JAVA_TREE_HH
+#define GCC_JAVA_TREE_HH
 
 class tree_generator : public visitor
 {
@@ -490,4 +490,4 @@
 				  const model_variable_decl *);
 };
 
-#endif // GCC_TREE_TREE_HH
+#endif // GCC_JAVA_TREE_HH
Index: treegen.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/treegen.hh,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 treegen.hh
--- treegen.hh 13 Feb 2005 03:39:43 -0000 1.1.2.2
+++ treegen.hh 4 Apr 2005 04:29:11 -0000
@@ -19,8 +19,8 @@
 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 // 02111-1307, USA.
 
-#ifndef GCC_TREE_TREEGEN_HH
-#define GCC_TREE_TREEGEN_HH
+#ifndef GCC_JAVA_TREEGEN_HH
+#define GCC_JAVA_TREEGEN_HH
 
 class tree_builtins;
 
@@ -55,4 +55,4 @@
   }
 };
 
-#endif // GCC_TREE_TREEGEN_HH
+#endif // GCC_JAVA_TREEGEN_HH
Index: util.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/Attic/util.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 util.h
--- util.h 4 Apr 2005 00:53:59 -0000 1.1.2.1
+++ util.h 4 Apr 2005 04:29:11 -0000
@@ -24,8 +24,8 @@
 of Sun Microsystems, Inc. in the United States and other countries.
 The Free Software Foundation is independent of Sun Microsystems, Inc.  */
 
-#ifndef GCC_TREE_UTIL_H
-#define GCC_TREE_UTIL_H
+#ifndef GCC_JAVA_UTIL_H
+#define GCC_JAVA_UTIL_H
 
 /* Extract a character from a Java-style Utf8 string.
  * PTR points to the current character.
@@ -44,4 +44,4 @@
 
 extern void append_gpp_mangled_name (const char *name, int len);
 
-#endif /* GCC_TREE_UTIL_H */
+#endif /* GCC_JAVA_UTIL_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]