aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2001-05-25 18:31:47 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-05-25 18:31:47 -0700
commit88657302b711baa2b317b2bb91c93d0a03e16b36 (patch)
treea63afad955af14544b1903785b68f16116173e26 /gcc/cp
parentf811f821d511e7d03dbca9cd645d03bc721b92a2 (diff)
downloadgcc-88657302b711baa2b317b2bb91c93d0a03e16b36.zip
gcc-88657302b711baa2b317b2bb91c93d0a03e16b36.tar.gz
gcc-88657302b711baa2b317b2bb91c93d0a03e16b36.tar.bz2
Standardize header guards.
From-SVN: r42615
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/cp-tree.h6
-rw-r--r--gcc/cp/lex.h6
3 files changed, 11 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index bf9bd89..e8ab948 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,4 +1,8 @@
-2001-05-26 Mark Mitchell <mark@codesourcery.com>
+2001-05-25 Sam TH <sam@uchicago.edu>
+
+ * cp-tree.h lex.h: Fix header include guards.
+
+2001-05-25 Mark Mitchell <mark@codesourcery.com>
* decl.c (init_decl_processing): Tweak.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index e5065e4..e820303 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -25,8 +25,8 @@ Boston, MA 02111-1307, USA. */
#include "splay-tree.h"
#include "varray.h"
-#ifndef _CP_TREE_H
-#define _CP_TREE_H
+#ifndef GCC_CP_TREE_H
+#define GCC_CP_TREE_H
#include "c-common.h"
@@ -4533,4 +4533,4 @@ extern int cp_dump_tree PARAMS ((dump_info_p, tree));
/* -- end of C++ */
-#endif /* not _CP_TREE_H */
+#endif /* ! GCC_CP_TREE_H */
diff --git a/gcc/cp/lex.h b/gcc/cp/lex.h
index f5f7d45..9f86833 100644
--- a/gcc/cp/lex.h
+++ b/gcc/cp/lex.h
@@ -21,8 +21,8 @@ can know your rights and responsibilities. It should be in a
file named COPYING. Among other things, the copyright notice
and this notice must be preserved on all copies. */
-#ifndef _CP_LEX_H
-#define _CP_LEX_H
+#ifndef GCC_CP_LEX_H
+#define GCC_CP_LEX_H
#if 0
/* Formerly, the RID_* values used as mask bits did not fit into a
@@ -84,4 +84,4 @@ extern int pending_lang_change;
extern int yylex PARAMS ((void));
-#endif /* _CP_LEX_H */
+#endif /* ! GCC_CP_LEX_H */