]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add header guard to several header files.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2014 22:34:23 +0000 (22:34 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Sep 2014 22:34:23 +0000 (22:34 +0000)
2014-09-19  Kito Cheng  <kito@0xlab.org>

* except.h: Fix header guard.
* addresses.h: Add missing header guard.
* cfghooks.h: Likewise.
* collect-utils.h: Likewise.
* collect2-aix.h: Likewise.
* conditions.h: Likewise.
* cselib.h: Likewise.
* dwarf2asm.h: Likewise.
* graphds.h: Likewise.
* graphite-scop-detection.h: Likewise.
* gsyms.h: Likewise.
* hw-doloop.h: Likewise.
* incpath.h: Likewise.
* ipa-inline.h: Likewise.
* ipa-ref.h: Likewise.
* ira-int.h: Likewise.
* ira.h: Likewise.
* lra-int.h: Likewise.
* lra.h: Likewise.
* lto-section-names.h: Likewise.
* read-md.h: Likewise.
* reload.h: Likewise.
* rtl-error.h: Likewise.
* sdbout.h: Likewise.
* targhooks.h: Likewise.
* tree-affine.h: Likewise.
* xcoff.h: Likewise.
* xcoffout.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215365 138bc75d-0d04-0410-961f-82ee72b054a4

29 files changed:
gcc/ChangeLog
gcc/addresses.h
gcc/cfghooks.h
gcc/collect-utils.h
gcc/collect2-aix.h
gcc/conditions.h
gcc/cselib.h
gcc/dwarf2asm.h
gcc/except.h
gcc/graphds.h
gcc/graphite-scop-detection.h
gcc/gsyms.h
gcc/hw-doloop.h
gcc/incpath.h
gcc/ipa-inline.h
gcc/ipa-ref.h
gcc/ira-int.h
gcc/ira.h
gcc/lra-int.h
gcc/lra.h
gcc/lto-section-names.h
gcc/read-md.h
gcc/reload.h
gcc/rtl-error.h
gcc/sdbout.h
gcc/targhooks.h
gcc/tree-affine.h
gcc/xcoff.h
gcc/xcoffout.h

index de52a05471bfc8cec92a43db80efe0850d762d65..37749c7b4b9e30efd54f53e67fe89e94f63af7c1 100644 (file)
@@ -1,3 +1,34 @@
+2014-09-19  Kito Cheng  <kito@0xlab.org>
+
+       * except.h: Fix header guard.
+       * addresses.h: Add missing header guard.
+       * cfghooks.h: Likewise.
+       * collect-utils.h: Likewise.
+       * collect2-aix.h: Likewise.
+       * conditions.h: Likewise.
+       * cselib.h: Likewise.
+       * dwarf2asm.h: Likewise.
+       * graphds.h: Likewise.
+       * graphite-scop-detection.h: Likewise.
+       * gsyms.h: Likewise.
+       * hw-doloop.h: Likewise.
+       * incpath.h: Likewise.
+       * ipa-inline.h: Likewise.
+       * ipa-ref.h: Likewise.
+       * ira-int.h: Likewise.
+       * ira.h: Likewise.
+       * lra-int.h: Likewise.
+       * lra.h: Likewise.
+       * lto-section-names.h: Likewise.
+       * read-md.h: Likewise.
+       * reload.h: Likewise.
+       * rtl-error.h: Likewise.
+       * sdbout.h: Likewise.
+       * targhooks.h: Likewise.
+       * tree-affine.h: Likewise.
+       * xcoff.h: Likewise.
+       * xcoffout.h: Likewise.
+
 2014-09-18  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR debug/63285
index e323b588794881a8bc9b44565485912f3ec5447a..3f0089a87f1d8492fc2568b37b3fc34b18a0981f 100644 (file)
@@ -21,6 +21,9 @@ along with GCC; see the file COPYING3.  If not see
    MODE_BASE_REG_REG_CLASS, MODE_BASE_REG_CLASS and BASE_REG_CLASS.
    Arguments as for the MODE_CODE_BASE_REG_CLASS macro.  */
 
+#ifndef GCC_ADDRESSES_H
+#define GCC_ADDRESSES_H
+
 static inline enum reg_class
 base_reg_class (enum machine_mode mode ATTRIBUTE_UNUSED,
                addr_space_t as ATTRIBUTE_UNUSED,
@@ -82,3 +85,5 @@ regno_ok_for_base_p (unsigned regno, enum machine_mode mode, addr_space_t as,
 
   return ok_for_base_p_1 (regno, mode, as, outer_code, index_code);
 }
+
+#endif /* GCC_ADDRESSES_H */
index 8ff808c5ffa6da9a248496ac60088c7b66eab6b8..1b8587a5b1bd71afc8515259139ad08c8379f4b9 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_CFGHOOKS_H
+#define GCC_CFGHOOKS_H
+
 /* Only basic-block.h includes this.  */
 
 struct cfg_hooks
@@ -221,3 +224,4 @@ extern void gimple_register_cfg_hooks (void);
 extern struct cfg_hooks get_cfg_hooks (void);
 extern void set_cfg_hooks (struct cfg_hooks);
 
+#endif /* GCC_CFGHOOKS_H */
index 2989c6b1da05fcd040d35809924c96ca824e4d49..ba1985e0e21b51944633ba0444a3a21df9b7f6fc 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_COLLECT_UTILS_H
+#define GCC_COLLECT_UTILS_H
+
 /* Provided in collect-utils.c.  */
 extern void notice (const char *, ...)
   __attribute__ ((format (printf, 1, 2)));
@@ -42,3 +45,5 @@ extern const char tool_name[];
 /* Called by utils_cleanup.  */
 extern void tool_cleanup (bool);
 extern void maybe_unlink (const char *);
+
+#endif /* GCC_COLLECT_UTILS_H */
index 953b877842252425afaa1261d4cabcac69afae48..40f855e96615819f8135465b01e1fdb4f536c781 100644 (file)
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_COLLECT2_AIX_H
+#define GCC_COLLECT2_AIX_H
 /* collect2-aix.c requires mmap support.  It should otherwise be
    fairly portable.  */
 #if defined(CROSS_DIRECTORY_STRUCTURE) \
@@ -300,3 +302,5 @@ extern int ldtbread (LDFILE *, long, SYMENT *);
 extern int ldclose (LDFILE *);
 
 #endif
+
+#endif /* GCC_COLLECT2_AIX_H */
index 837fff30b10e9c70137513c678c920643bef2152..5162957fbdea5ce32cd214c4650a03eff766ecd6 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_CONDITIONS_H
+#define GCC_CONDITIONS_H
+
 /* None of the things in the files exist if we don't use CC0.  */
 
 #ifdef HAVE_cc0
@@ -115,3 +118,5 @@ extern CC_STATUS cc_status;
   CC_STATUS_MDEP_INIT)
 
 #endif
+
+#endif /* GCC_CONDITIONS_H */
index ecf53e1ad1be2bb66bc0a4cd03e0431e3109a09c..205f1806ace72899329819fed24a2b4a6955a301 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_CSELIB_H
+#define GCC_CSELIB_H
+
 /* Describe a value.  */
 struct cselib_val {
   /* The hash value.  */
@@ -120,3 +123,5 @@ canonical_cselib_val (cselib_val *val)
   gcc_checking_assert (canonical_cselib_val (canon) == canon);
   return canon;
 }
+
+#endif /* GCC_CSELIB_H */
index ca76bf690837e8a13a08830c764930e50f661fc3..1122c856046821c56cdf09bfd6fa9103ed7173a4 100644 (file)
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_DWARF2ASM_H
+#define GCC_DWARF2ASM_H
 
 extern void dw2_assemble_integer (int, rtx);
 
@@ -86,3 +88,5 @@ extern void dw2_asm_output_delta_sleb128 (const char *, const char *,
                                          const char *, ...)
      ATTRIBUTE_NULL_PRINTF_3;
 #endif
+
+#endif /* GCC_DWARF2ASM_H */
index 325915132048cd22a54b2468a8b24655ac0fb2c4..d01a3a083be8fb9df1a74183401e33864f5e07af 100644 (file)
@@ -22,8 +22,7 @@ along with GCC; see the file COPYING3.  If not see
    that the compiler can keep track of where this file is included.  This
    is e.g. used to avoid including this file in front-end specific files.  */
 #ifndef GCC_EXCEPT_H
-#  define GCC_EXCEPT_H
-#endif
+#define GCC_EXCEPT_H
 
 #include "hash-map.h"
 #include "hashtab.h"
@@ -333,3 +332,5 @@ ehr_next (eh_region r, eh_region start)
   for ((R) = (FN)->eh->region_tree; (R) != NULL; (R) = ehr_next (R, NULL))
 
 #define FOR_ALL_EH_REGION(R) FOR_ALL_EH_REGION_FN (R, cfun)
+
+#endif
index 03f969afca5264c1fd55aaa1bd6436f95a5e5944..fbae09c2c554850190aec974bc71b6d3cb3e9834 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_GRAPHDS_H
+#define GCC_GRAPHDS_H
+
 /* Structure representing edge of a graph.  */
 
 struct graph_edge
@@ -59,3 +62,5 @@ void graphds_domtree (struct graph *, int, int *, int *, int *);
 typedef void (*graphds_edge_callback) (struct graph *, struct graph_edge *);
 void for_each_edge (struct graph *, graphds_edge_callback);
 void free_graph (struct graph *g);
+
+#endif /* GCC_GRAPHDS_H */
index 8ec7fdc0be76652d26aae00272a4ec39938dfede..71b88275eb0a46b4ed9702dab04a686f28f84253 100644 (file)
@@ -19,7 +19,11 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_GRAPHITE_SCOP_DETECTION_H
+#define GCC_GRAPHITE_SCOP_DETECTION_H
 
 extern void build_scops (vec<scop_p> *);
 extern void dot_all_scops (vec<scop_p> );
 extern void dot_scop (scop_p);
+
+#endif /* GCC_GRAPHITE_SCOP_DETECTION_H */
index 3547692e166b132e4f69f48daac3b47f4f538fa6..3aeb1da3dfa52200543889c37eb46dbe390b6cf1 100644 (file)
@@ -18,6 +18,8 @@ along with GCC; see the file COPYING3.  If not see
 
 /* For cross compilation, use the portable definitions from the COFF
    documentation.  */
+#ifndef GCC_GSYMS_H
+#define GCC_GSYMS_H
 
 #define __GNU_SYMS__
 
@@ -102,3 +104,5 @@ enum sdb_masks
 #endif
   N_TSHIFT = 2
 };
+
+#endif /* GCC_GSYMS_H */
index 52b344dc7e4a6da92e38269a6a46fd64f18bd4d9..1e2a87f2f893363b0d9066f413409e99d676a486 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_HW_DOLOOP_H
+#define GCC_HW_DOLOOP_H
+
 /* We need to keep a vector of loops */
 typedef struct hwloop_info_d *hwloop_info;
 
@@ -153,3 +156,5 @@ struct hw_doloop_hooks
 };
 
 extern void reorg_loops (bool, struct hw_doloop_hooks *);
+
+#endif /* GCC_HW_DOLOOP_H */
index e86130fbc564d01c384c199470fdf948d5ce7f7b..0826d26140f01bbbc3a2169a684f3a3f93f52425 100644 (file)
@@ -15,6 +15,9 @@
    along with this program; see the file COPYING3.  If not see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_INCPATH_H
+#define GCC_INCPATH_H
+
 extern void split_quote_chain (void);
 extern void add_path (char *, int, int, bool);
 extern void register_include_chains (cpp_reader *, const char *,
@@ -32,3 +35,5 @@ struct target_c_incpath_s {
 extern struct target_c_incpath_s target_c_incpath;
 
 enum { QUOTE = 0, BRACKET, SYSTEM, AFTER };
+
+#endif /* GCC_INCPATH_H */
index 8cbb39fd6332d727ee8ff40fb1d01d6a308d25fe..75973230bc584767b5a47086a6695eb46d9d4308 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_IPA_INLINE_H
+#define GCC_IPA_INLINE_H
+
 #include "ipa-prop.h"
 
 /* Representation of inline parameters that do depend on context function is
@@ -347,3 +350,5 @@ reset_edge_growth_cache (struct cgraph_edge *edge)
       edge_growth_cache[edge->uid] = zero;
     }
 }
+
+#endif /* GCC_IPA_INLINE_H */
index b8b1f9e4216c920d152cac3878caba85861c09da..6709933596e4ef2ca116578763ce3054a5fd5b96 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_IPA_REF_H
+#define GCC_IPA_REF_H
+
 struct cgraph_node;
 class varpool_node;
 class symtab_node;
@@ -127,3 +130,5 @@ public:
      or GGC will try to mark middle of references vectors.  */
   vec<ipa_ref_ptr>  GTY((skip)) referring;
 };
+
+#endif /* GCC_IPA_REF_H */
index 1db064193cd89b92512cc3aa9ac228799344ee0d..e3db1c7630dc754a3a6ac20975057aaea5b61315 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_IRA_INT_H
+#define GCC_IRA_INT_H
+
 #include "cfgloop.h"
 #include "ira.h"
 #include "alloc-pool.h"
@@ -1507,3 +1510,5 @@ ira_allocate_and_set_or_copy_costs (int **vec, enum reg_class aclass,
 
 extern rtx ira_create_new_reg (rtx);
 extern int first_moveable_pseudo, last_moveable_pseudo;
+
+#endif /* GCC_IRA_INT_H */
index 1d1ec65a2375bdabd2a8d2e1d8a95f4a5a1d11d3..a3bcbdc875443f479ebafd9085881317dda1ae98 100644 (file)
--- a/gcc/ira.h
+++ b/gcc/ira.h
@@ -19,6 +19,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_IRA_H
+#define GCC_IRA_H
+
 /* True when we use LRA instead of reload pass for the current
    function.  */
 extern bool ira_use_lra_p;
@@ -195,3 +198,5 @@ extern bool ira_better_spill_reload_regno_p (int *, int *, rtx, rtx, rtx);
 extern bool ira_bad_reload_regno (int, rtx, rtx);
 
 extern void ira_adjust_equiv_reg_cost (unsigned, int);
+
+#endif /* GCC_IRA_H */
index 5afc68c6f11fb123a6525d64982f5f25922d6978..28903e1cad8afeb97620eb827955df4aa0dc8f36 100644 (file)
@@ -18,6 +18,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3. If not see
 <http://www.gnu.org/licenses/>.         */
 
+#ifndef GCC_LRA_INT_H
+#define GCC_LRA_INT_H
+
 #include "lra.h"
 #include "bitmap.h"
 #include "recog.h"
@@ -501,3 +504,5 @@ lra_assign_reg_val (int from, int to)
   lra_reg_info[to].val = lra_reg_info[from].val;
   lra_reg_info[to].offset = lra_reg_info[from].offset;
 }
+
+#endif /* GCC_LRA_INT_H */
index 4d67484b77f2375f3a149a45b5897d888bde1d4e..fcdea70a9f7ccad3160381d022f91de92b1cf362 100644 (file)
--- a/gcc/lra.h
+++ b/gcc/lra.h
@@ -19,6 +19,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3. If not see
 <http://www.gnu.org/licenses/>.         */
 
+#ifndef GCC_LRA_H
+#define GCC_LRA_H
+
 extern bool lra_simple_p;
 
 /* Return the allocno reg class of REGNO.  If it is a reload pseudo,
@@ -37,3 +40,5 @@ extern rtx lra_eliminate_regs (rtx, enum machine_mode, rtx);
 extern void lra (FILE *);
 extern void lra_init_once (void);
 extern void lra_finish_once (void);
+
+#endif /* GCC_LRA_H */
index 19a992d0b63cf789a34bc2484ddd6b473cf2c577..cb7523098729ed6b8697e6fbcb58694f7ec44c45 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_LTO_SECTION_NAMES_H
+#define GCC_LTO_SECTION_NAMES_H
+
 /* The string that is the prefix on the section names we make for lto.
    For decls the DECL_ASSEMBLER_NAME is appended to make the section
    name for the functions and static_initializers.  For other types of
@@ -26,3 +29,5 @@ along with GCC; see the file COPYING3.  If not see
 /* Segment name for LTO sections.  This is only used for Mach-O.  */
 
 #define LTO_SEGMENT_NAME "__GNU_LTO"
+
+#endif /* GCC_LTO_SECTION_NAMES_H */
index be26bdd1a4d05824ff13f2ffa603dc34cdd6f3d5..cb328b8457267253de5bd614fb493b923606b996 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_READ_MD_H
+#define GCC_READ_MD_H
+
 #include "obstack.h"
 #include "hashtab.h"
 
@@ -138,3 +141,5 @@ extern void traverse_enum_types (htab_trav, void *);
 extern struct enum_type *lookup_enum_type (const char *);
 extern bool read_md_files (int, char **, bool (*) (const char *),
                           directive_handler_t);
+
+#endif /* GCC_READ_MD_H */
index eb4ccd3ea2ada87ef87a9924c6838d62fd7973b4..e9c109542ea77cf5034c67c099ccbca77e72fa5e 100644 (file)
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_RELOAD_H
+#define GCC_RELOAD_H
 
 /* If secondary reloads are the same for inputs and outputs, define those
    macros here.  */
@@ -458,3 +460,5 @@ extern rtx reload_adjust_reg_for_mode (rtx, enum machine_mode);
 
 /* Allocate or grow the reg_equiv tables, initializing new entries to 0.  */
 extern void grow_reg_equivs (void);
+
+#endif /* GCC_RELOAD_H */
index 479e2e5b83545db7b67060ab09852c22226db894..ad38545c34a09c0b69b9d208dfffea1b8f95b97c 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_RTL_ERROR_H
+#define GCC_RTL_ERROR_H
+
 #include "rtl.h"
 #include "diagnostic-core.h"
 
@@ -24,3 +27,5 @@ extern void error_for_asm (const rtx_insn *, const char *,
                           ...) ATTRIBUTE_GCC_DIAG(2,3);
 extern void warning_for_asm (const rtx_insn *, const char *,
                             ...) ATTRIBUTE_GCC_DIAG(2,3);
+
+#endif /* GCC_RTL_ERROR_H */
index 00368b6ecd63d0513e318590f88088fd1d9296c9..3d8a88647416d8580b25bad53b32d9accffff844 100644 (file)
@@ -17,5 +17,10 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_SDBOUT_H
+#define GCC_SDBOUT_H
+
 extern void sdbout_symbol (tree, int);
 extern void sdbout_types (tree);
+
+#endif /* GCC_SDBOUT_H */
index dad9520c9109041f43875fe7759841251badacf1..9178c30d3fb714e855a30ceffb9af249295a8419 100644 (file)
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_TARGHOOKS_H
+#define GCC_TARGHOOKS_H
+
 extern bool default_legitimate_address_p (enum machine_mode, rtx, bool);
 
 extern void default_external_libcall (rtx);
@@ -212,3 +215,5 @@ extern tree std_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
 extern bool can_use_doloop_if_innermost (const widest_int &,
                                         const widest_int &,
                                         unsigned int, bool);
+
+#endif /* GCC_TARGHOOKS_H */
index 48dd2a79f19d25016b8f905b2f1d4ccb9b742659..5cf31241e9832aa7dde1ca1ad2fbd7d9ca0421d8 100644 (file)
@@ -20,6 +20,9 @@ along with GCC; see the file COPYING3.  If not see
 /* Affine combination of trees.  We keep track of at most MAX_AFF_ELTS elements
    to make things simpler; this is sufficient in most cases.  */
 
+#ifndef GCC_TREE_AFFINE_H
+#define GCC_TREE_AFFINE_H
+
 #include "hash-map.h"
 #include "wide-int.h"
 
@@ -99,3 +102,5 @@ aff_combination_zero_p (aff_tree *aff)
 
   return false;
 }
+
+#endif /* GCC_TREE_AFFINE_H */
index 9a07173a0fbe00908c624d98289defcc99140c33..af55ebd02e2b21f13d7e753641ad39c0e0c575ea 100644 (file)
@@ -16,6 +16,9 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_XCOFF_H
+#define GCC_XCOFF_H
+
 /* Storage classes in XCOFF object file format designed for DBX's use.
    This info is from the `Files Reference' manual for IBM's AIX version 3
    for the RS6000.  */
@@ -33,3 +36,5 @@ along with GCC; see the file COPYING3.  If not see
 #define C_DECL         0x8c
 #define C_ENTRY                0x8d
 #define C_FUN          0x8e
+
+#endif /* GCC_XCOFF_H */
index 3373c8e6e7afb2f21b8872ebd6dc3068f7549fc0..b45518c08f894a1ad8a763b305097b8f686c0df3 100644 (file)
@@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
+#ifndef GCC_XCOFFOUT_H
+#define GCC_XCOFFOUT_H
 
 /* Tags and typedefs are C_DECL in XCOFF, not C_LSYM.  */
 
@@ -184,3 +186,5 @@ extern void xcoffout_end_block (unsigned, unsigned);
 extern int xcoff_assign_fundamental_type_number (tree);
 extern void xcoffout_declare_function (FILE *, tree, const char *);
 extern void xcoffout_source_line (unsigned int, const char *, int, bool);
+
+#endif /* GCC_XCOFFOUT_H */