add multiple include guards
Matt Kraai
kraai@alumni.carnegiemellon.edu
Thu Feb 22 09:16:00 GMT 2001
Howdy,
The appended patch adds multiple include guards of the form
GCC_FILENAME_H (or GCC_DIR_FILENAME_H) for headers without them in
the gcc, gcc/ch, gcc/cp, gcc/java, and gcc/objc directories
(except for headers which are generated or need to be included
multiple times). It bootstrapped on i686-pc-linux-gnu.
Matt
(for gcc/ChangeLog)
2001-02-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* c-dump.h: Add multiple include guard.
* conditions.h: Ditto.
* convert.h: Ditto.
* cselib.h: Ditto.
* dbxout.h: Ditto.
* dbxstclass.h: Ditto.
* dwarf.h: Ditto.
* dwarf2.h: Ditto.
* dwarf2out.h: Ditto.
* dwarfout.h: Ditto.
* eh-common.h: Ditto.
* except.h: Ditto.
* expr.h: Ditto.
* frame.h: Ditto.
* function.h: Ditto.
* gbl-ctors.h: Ditto.
* gensupport.h: Ditto.
* ggc.h: Ditto.
* gsyms.h: Ditto.
* halfpic.h: Ditto.
* hash.h: Ditto.
* input.h: Ditto.
* integrate.h: Ditto.
* intl.h: Ditto.
* longlong.h: Ditto.
* loop.h: Ditto.
* output.h: Ditto.
* recog.h: Ditto.
* regs.h: Ditto.
* reload.h: Ditto.
* resource.h: Ditto.
* scan.h: Ditto.
* sched-int.h: Ditto.
* sdbout.h: Ditto.
* ssa.h: Ditto.
* stack.h: Ditto.
* tree.h: Ditto.
* typeclass.h: Ditto.
* xcoffout.h: Ditto.
(for gcc/ch/ChangeLog)
2001-02-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* actions.h: Add multiple include guard.
* lex.h: Ditto.
* parse.h: Ditto.
(for gcc/cp/ChangeLog)
2001-02-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* decl.h: Add multiple include guard.
(for gcc/java/ChangeLog)
2001-02-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* buffer.h: Add multiple include guard.
* convert.h: Ditto.
* java-except.h: Ditto.
* java-opcodes.h: Ditto.
* java-tree.h: Ditto.
* keyword.h: Ditto.
* xref.h: Ditto.
* zipfile.h: Ditto.
(for gcc/objc/ChangeLog)
2001-02-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* objc-act.h: Add multiple include guard.
Index: c-dump.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-dump.h,v
retrieving revision 1.1
diff -c -3 -p -r1.1 c-dump.h
*** c-dump.h 2000/11/10 16:29:34 1.1
--- c-dump.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_C_DUMP_H
+ #define GCC_C_DUMP_H 1
+
/* Flags used with queue functions. */
#define DUMP_NONE 0
#define DUMP_BINFO 1
*************** extern void queue_and_dump_index
*** 82,84 ****
--- 85,89 ----
PARAMS ((dump_info_p, const char *, tree, int));
extern void queue_and_dump_type
PARAMS ((dump_info_p, tree));
+
+ #endif /* GCC_C_DUMP_H */
Index: conditions.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/conditions.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 conditions.h
*** conditions.h 1998/12/16 20:54:13 1.3
--- conditions.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CONDITIONS_H
+ #define GCC_CONDITIONS_H 1
+
/* None of the things in the files exist if we don't use CC0. */
#ifdef HAVE_cc0
*************** extern CC_STATUS cc_status;
*** 116,118 ****
--- 119,123 ----
CC_STATUS_MDEP_INIT)
#endif
+
+ #endif /* GCC_CONDITIONS_H */
Index: convert.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/convert.h,v
retrieving revision 1.5
diff -c -3 -p -r1.5 convert.h
*** convert.h 2000/06/24 19:26:42 1.5
--- convert.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 18,25 ****
--- 18,30 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CONVERT_H
+ #define GCC_CONVERT_H 1
+
extern tree convert_to_integer PARAMS ((tree, tree));
extern tree convert_to_pointer PARAMS ((tree, tree));
extern tree convert_to_real PARAMS ((tree, tree));
extern tree convert_to_complex PARAMS ((tree, tree));
extern tree convert_to_vector PARAMS ((tree, tree));
+
+ #endif /* GCC_CONVERT_H */
Index: cselib.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cselib.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 cselib.h
*** cselib.h 2000/12/07 01:58:23 1.2
--- cselib.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CSELIB_H
+ #define GCC_CSELIB_H 1
+
/* Describe a value. */
typedef struct cselib_val_struct
{
*************** extern void cselib_finish PARAMS ((void
*** 65,67 ****
--- 68,72 ----
extern void cselib_process_insn PARAMS ((rtx));
extern int rtx_equal_for_cselib_p PARAMS ((rtx, rtx));
extern int references_value_p PARAMS ((rtx, int));
+
+ #endif /* GCC_CSELIB_H */
Index: dbxout.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxout.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 dbxout.h
*** dbxout.h 2000/02/29 23:33:48 1.7
--- dbxout.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_DBXOUT_H
+ #define GCC_DBXOUT_H 1
+
extern void dbxout_init PARAMS ((FILE *, const char *, tree));
extern void dbxout_finish PARAMS ((FILE *, const char *));
*************** extern int dbxout_syms PARAMS ((tree))
*** 34,36 ****
--- 37,41 ----
extern void dbxout_function PARAMS ((tree));
extern void dbxout_source_line PARAMS ((FILE *, const char *, int));
extern void dbxout_begin_function PARAMS ((tree));
+
+ #endif /* GCC_DBXOUT_H */
Index: dbxstclass.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxstclass.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 dbxstclass.h
*** dbxstclass.h 1998/12/16 20:54:53 1.3
--- dbxstclass.h 2001/02/22 16:38:01
***************
*** 2,7 ****
--- 2,10 ----
This info is from the `Files Reference' manual for IBM's AIX version 3
for the RS6000. */
+ #ifndef GCC_DBXSTCLASS_H
+ #define GCC_DBXSTCLASS_H 1
+
#define C_GSYM 0x80
#define C_LSYM 0x81
#define C_PSYM 0x82
***************
*** 15,17 ****
--- 18,22 ----
#define C_DECL 0x8c
#define C_ENTRY 0x8d
#define C_FUN 0x8e
+
+ #endif /* GCC_DBXSTCLASS_H */
Index: dwarf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 dwarf.h
*** dwarf.h 2000/11/20 21:40:30 1.7
--- dwarf.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 22,27 ****
--- 22,30 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_DWARF_H
+ #define GCC_DWARF_H 1
+
/* This file is derived from the DWARF specification (a public document)
Revision 1.0.1 (April 8, 1992) developed by the UNIX International
Programming Languages Special Interest Group (UI/PLSIG) and distributed
*************** enum dwarf_macinfo_record_type {
*** 317,319 ****
--- 320,324 ----
MACINFO_define = 'd',
MACINFO_undef = 'u'
};
+
+ #endif /* GCC_DWARF_H */
Index: dwarf2.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2.h,v
retrieving revision 1.16
diff -c -3 -p -r1.16 dwarf2.h
*** dwarf2.h 2000/08/29 00:29:25 1.16
--- dwarf2.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 22,27 ****
--- 22,30 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_DWARF2_H
+ #define GCC_DWARF2_H 1
+
/* This file is derived from the DWARF specification (a public document)
Revision 2.0.0 (July 27, 1993) developed by the UNIX International
Programming Languages Special Interest Group (UI/PLSIG) and distributed
*************** enum dwarf_macinfo_record_type
*** 554,556 ****
--- 557,561 ----
DW_MACINFO_end_file = 4,
DW_MACINFO_vendor_ext = 255
};
+
+ #endif /* GCC_DWARF2_H */
Index: dwarf2out.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 dwarf2out.h
*** dwarf2out.h 2001/02/16 13:03:10 1.11
--- dwarf2out.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_DWARF2OUT_H
+ #define GCC_DWARF2OUT_H 1
+
extern void dwarf2out_init PARAMS ((FILE *, const char *));
extern void dwarf2out_finish PARAMS ((void));
*************** extern void debug_dwarf_die PARAMS ((st
*** 41,43 ****
--- 44,48 ----
extern void dwarf2out_set_demangle_name_func PARAMS ((const char *(*) (const char *)));
extern void dwarf2out_abstract_function PARAMS ((tree));
extern void dwarf2out_add_library_unit_info PARAMS ((const char *, const char *));
+
+ #endif /* GCC_DWARF2OUT_H */
Index: dwarfout.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarfout.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 dwarfout.h
*** dwarfout.h 2000/11/08 02:18:00 1.7
--- dwarfout.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_DWARFOUT_H
+ #define GCC_DWARFOUT_H 1
+
extern void dwarfout_init PARAMS ((FILE *, const char *));
extern void dwarfout_finish PARAMS ((void));
*************** extern void dwarfout_begin_block PARAMS
*** 35,37 ****
--- 38,42 ----
extern void dwarfout_end_block PARAMS ((unsigned));
extern void dwarfout_line PARAMS ((const char *, unsigned));
+
+ #endif /* GCC_DWARFOUT_H */
Index: eh-common.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/eh-common.h,v
retrieving revision 1.13
diff -c -3 -p -r1.13 eh-common.h
*** eh-common.h 2000/07/22 23:29:14 1.13
--- eh-common.h 2001/02/22 16:38:01
*************** You should have received a copy of the G
*** 17,22 ****
--- 17,24 ----
along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ #ifndef GCC_EH_COMMON_H
+ #define GCC_EH_COMMON_H 1
/* This file contains the structures required for the language
independent exception handling model. Both the static compiler and
*************** enum exception_source_language
*** 159,162 ****
#endif /* EH_TABLE_LOOKUP */
!
--- 161,164 ----
#endif /* EH_TABLE_LOOKUP */
! #endif /* GCC_EH_COMMON_H */
Index: except.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.h,v
retrieving revision 1.42
diff -c -3 -p -r1.42 except.h
*** except.h 2000/05/28 02:17:58 1.42
--- except.h 2001/02/22 16:38:01
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_EXCEPT_H
+ #define GCC_EXCEPT_H 1
+
#if !defined(NULL_RTX) && !defined(rtx)
typedef struct rtx_def *_except_rtx;
#define rtx _except_rtx
*************** void init_insn_eh_region
*** 516,518 ****
--- 519,523 ----
#ifdef rtx
#undef rtx
#endif
+
+ #endif /* GCC_EXCEPT_H */
Index: expr.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.h,v
retrieving revision 1.73
diff -c -3 -p -r1.73 expr.h
*** expr.h 2000/12/03 23:58:44 1.73
--- expr.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_EXPR_H
+ #define GCC_EXPR_H 1
+
/* The default branch cost is 1. */
#ifndef BRANCH_COST
#define BRANCH_COST 1
*************** extern void do_jump_by_parts_greater_rtx
*** 1307,1309 ****
--- 1310,1314 ----
extern void mark_seen_cases PARAMS ((tree, unsigned char *,
HOST_WIDE_INT, int));
#endif
+
+ #endif /* GCC_EXPR_H */
Index: frame.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/frame.h,v
retrieving revision 1.18
diff -c -3 -p -r1.18 frame.h
*** frame.h 2001/01/24 04:30:46 1.18
--- frame.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 20,25 ****
--- 20,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_FRAME_H
+ #define GCC_FRAME_H 1
#ifndef DWARF_FRAME_REGISTERS
#define DWARF_FRAME_REGISTERS FIRST_PSEUDO_REGISTER
*************** void *__calc_caller_bsp (long, unsigned
*** 285,287 ****
--- 287,290 ----
void __copy_saved_reg_state (ia64_frame_state *, ia64_frame_state *);
#endif /* IA64_UNWIND_INFO */
+ #endif /* GCC_FRAME_H */
Index: function.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.h,v
retrieving revision 1.59
diff -c -3 -p -r1.59 function.h
*** function.h 2001/01/10 21:40:13 1.59
--- function.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_FUNCTION_H
+ #define GCC_FUNCTION_H 1
#if !defined(NULL_TREE) && !defined(tree)
typedef union union_node *_function_tree;
*************** extern void init_function_once
*** 604,606 ****
--- 606,610 ----
#ifdef tree
#undef tree
#endif
+
+ #endif /* GCC_FUNCTION_H */
Index: gbl-ctors.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gbl-ctors.h,v
retrieving revision 1.8
diff -c -3 -p -r1.8 gbl-ctors.h
*** gbl-ctors.h 2000/07/28 16:08:54 1.8
--- gbl-ctors.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 23,28 ****
--- 23,31 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_GBL_CTORS_H
+ #define GCC_GBL_CTORS_H 1
+
/* This file contains definitions and declarations of things
relating to the normal start-up-time invocation of C++
file-scope static object constructors. These declarations
*************** do { \
*** 81,83 ****
--- 84,87 ----
} while (0)
#endif
+ #endif /* GCC_GBL_CTORS_H */
Index: gensupport.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gensupport.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 gensupport.h
*** gensupport.h 2000/05/06 22:30:13 1.2
--- gensupport.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_GENSUPPORT_H
+ #define GCC_GENSUPPORT_H 1
+
struct obstack;
extern struct obstack *rtl_obstack;
*************** extern rtx read_md_rtx PARAMS ((int *,
*** 26,28 ****
--- 29,33 ----
extern void message_with_line PARAMS ((int, const char *, ...))
ATTRIBUTE_PRINTF_2;
+
+ #endif /* GCC_GENSUPPORT_H */
Index: ggc.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc.h,v
retrieving revision 1.34
diff -c -3 -p -r1.34 ggc.h
*** ggc.h 2001/02/20 05:49:06 1.34
--- ggc.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+ #ifndef GCC_GGC_H
+ #define GCC_GGC_H 1
+
#include "gansidecl.h"
#include "varray.h"
*************** void ggc_print_common_statistics PARAMS
*** 206,208 ****
--- 209,213 ----
/* Print allocation statistics. */
extern void ggc_print_statistics PARAMS ((void));
void stringpool_statistics PARAMS ((void));
+
+ #endif /* GCC_GGC_H */
Index: gsyms.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gsyms.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 gsyms.h
*** gsyms.h 1998/12/16 20:56:35 1.3
--- gsyms.h 2001/02/22 16:38:02
***************
*** 1,6 ****
--- 1,9 ----
/* For cross compilation, use the portable definitions from the COFF
documentation. */
+ #ifndef GCC_GSYMS_H
+ #define GCC_GSYMS_H 1
+
#define __GNU_SYMS__
enum sdb_storage_class
*************** enum sdb_masks
*** 84,86 ****
--- 87,91 ----
#endif
N_TSHIFT = 2
};
+
+ #endif /* GCC_GSYMS_H */
Index: halfpic.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/halfpic.h,v
retrieving revision 1.10
diff -c -3 -p -r1.10 halfpic.h
*** halfpic.h 2000/02/26 13:50:42 1.10
--- halfpic.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_HALFPIC_H
+ #define GCC_HALFPIC_H 1
+
#ifndef NO_HALF_PIC
#ifdef ANSI_PROTOTYPES
*************** extern void half_pic_finish (/* FILE * *
*** 69,71 ****
--- 72,76 ----
#endif
#endif /* NO_HALF_PIC */
+
+ #endif /* GCC_HALFPIC_H */
Index: hash.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/hash.h,v
retrieving revision 1.10
diff -c -3 -p -r1.10 hash.h
*** hash.h 2001/02/04 22:44:00 1.10
--- hash.h 2001/02/22 16:38:02
*************** along with this program; if not, write t
*** 19,24 ****
--- 19,27 ----
Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_HASH_H
+ #define GCC_HASH_H 1
+
#ifndef IN_GCC
#include <ansidecl.h>
#endif /* ! IN_GCC */
*************** extern boolean string_compare PARAMS ((h
*** 133,135 ****
--- 136,139 ----
extern hash_table_key string_copy PARAMS ((struct obstack* memory,
hash_table_key k));
+ #endif /* GCC_HASH_H */
Index: input.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/input.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 input.h
*** input.h 2000/05/09 19:55:47 1.6
--- input.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_INPUT_H
+ #define GCC_INPUT_H 1
+
/* Source file current line is coming from. */
extern const char *input_filename;
*************** extern int input_file_stack_tick;
*** 48,50 ****
--- 51,55 ----
extern void push_srcloc PARAMS ((const char *name, int line));
extern void pop_srcloc PARAMS ((void));
+
+ #endif /* GCC_INPUT_H */
Index: integrate.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/integrate.h,v
retrieving revision 1.16
diff -c -3 -p -r1.16 integrate.h
*** integrate.h 2001/01/23 18:36:06 1.16
--- integrate.h 2001/02/22 16:38:02
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_INTEGRATE_H
+ #define GCC_INTEGRATE_H 1
+
#include "varray.h"
/* This structure is used to remap objects in the function being inlined to
*************** extern varray_type global_const_equiv_va
*** 162,164 ****
--- 165,169 ----
p->rtx = (RTX); \
p->age = (AGE); \
}
+
+ #endif /* GCC_INTEGRATE_H */
Index: intl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/intl.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 intl.h
*** intl.h 1999/09/04 15:08:54 1.2
--- intl.h 2001/02/22 16:38:02
***************
*** 16,21 ****
--- 16,24 ----
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+ #ifndef GCC_INTL_H
+ #define GCC_INTL_H 1
+
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
***************
*** 50,52 ****
--- 53,57 ----
#ifndef N_
# define N_(msgid) (msgid)
#endif
+
+ #endif /* GCC_INTL_H */
Index: longlong.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/longlong.h,v
retrieving revision 1.23
diff -c -3 -p -r1.23 longlong.h
*** longlong.h 2000/12/07 01:58:23 1.23
--- longlong.h 2001/02/22 16:38:03
***************
*** 17,22 ****
--- 17,25 ----
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_LONGLONG_H
+ #define GCC_LONGLONG_H 1
+
/* You have to define the following before including this file:
UWtype -- An unsigned type, default type for operations (typically a "word")
*************** extern const UQItype __clz_tab[];
*** 1487,1489 ****
--- 1490,1494 ----
#ifndef UDIV_NEEDS_NORMALIZATION
#define UDIV_NEEDS_NORMALIZATION 0
#endif
+
+ #endif /* GCC_LONGLONG_H */
Index: loop.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop.h,v
retrieving revision 1.51
diff -c -3 -p -r1.51 loop.h
*** loop.h 2001/01/25 09:28:55 1.51
--- loop.h 2001/02/22 16:38:03
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_LOOP_H
+ #define GCC_LOOP_H 1
+
#include "bitmap.h"
#include "sbitmap.h"
#include "hard-reg-set.h"
*************** rtx loop_insn_hoist PARAMS((const struct
*** 419,421 ****
--- 422,426 ----
/* Forward declarations for non-static functions declared in doloop.c. */
int doloop_optimize PARAMS ((const struct loop *));
+
+ #endif /* GCC_LOOP_H */
Index: output.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/output.h,v
retrieving revision 1.55
diff -c -3 -p -r1.55 output.h
*** output.h 2001/02/07 01:04:36 1.55
--- output.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 20,25 ****
--- 20,28 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_OUTPUT_H
+ #define GCC_OUTPUT_H 1
+
/* Initialize data in final at the beginning of a compilation. */
extern void init_final PARAMS ((const char *));
*************** extern const char *user_label_prefix;
*** 460,462 ****
--- 463,467 ----
/* Assign unique numbers to labels generated for profiling. */
extern int profile_label_no;
+
+ #endif /* GCC_OUTPUT_H */
Index: recog.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/recog.h,v
retrieving revision 1.38
diff -c -3 -p -r1.38 recog.h
*** recog.h 2001/02/18 23:56:34 1.38
--- recog.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_RECOG_H
+ #define GCC_RECOG_H 1
+
/* Random number that should be large enough for all purposes. */
#define MAX_RECOG_ALTERNATIVES 30
#define recog_memoized(I) (INSN_CODE (I) >= 0 \
*************** struct insn_data
*** 247,249 ****
--- 250,254 ----
};
extern const struct insn_data insn_data[];
+
+ #endif /* GCC_RECOG_H */
Index: regs.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regs.h,v
retrieving revision 1.19
diff -c -3 -p -r1.19 regs.h
*** regs.h 2000/06/13 21:47:39 1.19
--- regs.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_REGS_H
+ #define GCC_REGS_H 1
#include "varray.h"
*************** extern int caller_save_needed;
*** 204,206 ****
--- 206,210 ----
/* Allocate reg_n_info tables */
extern void allocate_reg_info PARAMS ((size_t, int, int));
+
+ #endif /* GCC_REGS_H */
Index: reload.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reload.h,v
retrieving revision 1.33
diff -c -3 -p -r1.33 reload.h
*** reload.h 2001/01/07 02:26:50 1.33
--- reload.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_RELOAD_H
+ #define GCC_RELOAD_H 1
/* If secondary reloads are the same for inputs and outputs, define those
macros here. */
*************** extern void cleanup_subreg_operands PARA
*** 387,389 ****
--- 389,393 ----
/* Debugging support. */
extern void debug_reload_to_stream PARAMS ((FILE *));
extern void debug_reload PARAMS ((void));
+
+ #endif /* GCC_RELOAD_H */
Index: resource.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/resource.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 resource.h
*** resource.h 2000/05/27 20:23:14 1.7
--- resource.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_RESOURCE_H
+ #define GCC_RESOURCE_H 1
+
/* Macro to clear all resources. */
#define CLEAR_RESOURCE(RES) \
do { (RES)->memory = (RES)->unch_memory = (RES)->volatil = (RES)->cc = 0; \
*************** extern void incr_ticks_for_insn PARAMS
*** 50,52 ****
--- 53,57 ----
extern void mark_end_of_function_resources PARAMS ((rtx, int));
extern void init_resource_info PARAMS ((rtx));
extern void free_resource_info PARAMS ((void));
+
+ #endif /* GCC_RESOURCE_H */
Index: scan.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/scan.h,v
retrieving revision 1.15
diff -c -3 -p -r1.15 scan.h
*** scan.h 2000/11/27 08:00:04 1.15
--- scan.h 2001/02/22 16:38:04
*************** You should have received a copy of the G
*** 15,20 ****
--- 15,23 ----
along with this program; if not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ #ifndef GCC_SCAN_H
+ #define GCC_SCAN_H 1
+
#include <stdio.h>
typedef struct sstring
*************** extern int source_lineno;
*** 80,82 ****
--- 83,87 ----
extern sstring source_filename;
/* Current physical line number */
extern int lineno;
+
+ #endif /* GCC_SCAN_H */
Index: sched-int.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sched-int.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 sched-int.h
*** sched-int.h 2001/01/12 18:00:49 1.7
--- sched-int.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 20,25 ****
--- 20,28 ----
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+ #ifndef GCC_SCHED_INT_H
+ #define GCC_SCHED_INT_H 1
+
/* Forward declaration. */
struct ready_list;
*************** extern int insn_cost PARAMS ((rtx, rtx,
*** 292,294 ****
--- 295,298 ----
extern rtx get_unit_last_insn PARAMS ((int));
extern int actual_hazard_this_instance PARAMS ((int, int, rtx, int, int));
+ #endif /* GCC_SCHED_INT_H */
Index: sdbout.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sdbout.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 sdbout.h
*** sdbout.h 2000/06/06 12:08:44 1.6
--- sdbout.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_SDBOUT_H
+ #define GCC_SDBOUT_H 1
+
extern void sdbout_init PARAMS ((FILE *, const char *, tree));
extern void sdbout_begin_function PARAMS ((int));
*************** extern void sdbout_start_new_source_file
*** 37,39 ****
--- 40,43 ----
extern void sdbout_resume_previous_source_file PARAMS ((void));
extern void sdbout_mark_begin_function PARAMS ((void));
+ #endif /* GCC_SDBOUT_H */
Index: ssa.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ssa.h,v
retrieving revision 1.1
diff -c -3 -p -r1.1 ssa.h
*** ssa.h 2000/08/02 04:21:27 1.1
--- ssa.h 2001/02/22 16:38:04
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_SSA_H
+ #define GCC_SSA_H 1
/* Main SSA routines. */
extern void convert_to_ssa PARAMS ((void));
*************** extern varray_type ssa_uses;
*** 62,64 ****
--- 64,68 ----
#define CONVERT_REGISTER_TO_SSA_P(REG_NO) \
((!HARD_REGISTER_NUM_P (REG_NO)) || \
(CONVERT_HARD_REGISTER_TO_SSA_P (REG_NO)))
+
+ #endif /* GCC_SSA_H */
Index: stack.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/stack.h,v
retrieving revision 1.5
diff -c -3 -p -r1.5 stack.h
*** stack.h 2000/01/17 17:16:20 1.5
--- stack.h 2001/02/22 16:38:04
*************** along with this program; if not, write t
*** 17,22 ****
--- 17,25 ----
Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_STACK_H
+ #define GCC_STACK_H 1
+
/* Summary: this file contains additional structures that layer
on top of obstacks for GNU C++. */
*************** struct stack_level
*** 40,42 ****
--- 43,47 ----
struct stack_level *push_stack_level PARAMS ((struct obstack *, char *, int));
struct stack_level *pop_stack_level PARAMS ((struct stack_level *));
+
+ #endif /* GCC_STACK_H */
Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.226
diff -c -3 -p -r1.226 tree.h
*** tree.h 2001/02/21 14:42:09 1.226
--- tree.h 2001/02/22 16:38:08
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_TREE_H
+ #define GCC_TREE_H 1
+
#include "machmode.h"
#include "version.h"
*************** extern void dwarf2out_end_epilogue PARAM
*** 2884,2886 ****
--- 2887,2891 ----
extern void fancy_abort PARAMS ((const char *, int, const char *))
ATTRIBUTE_NORETURN;
#define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
+
+ #endif /* GCC_TREE_H */
Index: typeclass.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/typeclass.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 typeclass.h
*** typeclass.h 1998/12/16 20:58:40 1.3
--- typeclass.h 2001/02/22 16:38:08
***************
*** 1,5 ****
--- 1,8 ----
/* Values returned by __builtin_classify_type. */
+ #ifndef GCC_TYPECLASS_H
+ #define GCC_TYPECLASS_H 1
+
enum type_class
{
no_type_class = -1,
*************** enum type_class
*** 12,14 ****
--- 15,19 ----
array_type_class, string_type_class, set_type_class, file_type_class,
lang_type_class
};
+
+ #endif /* GCC_TYPECLASS_H */
Index: xcoffout.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/xcoffout.h,v
retrieving revision 1.10
diff -c -3 -p -r1.10 xcoffout.h
*** xcoffout.h 2000/09/25 08:08:58 1.10
--- xcoffout.h 2001/02/22 16:38:08
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_XCOFFOUT_H
+ #define GCC_XCOFFOUT_H 1
#define ASM_STABS_OP "\t.stabx\t"
*************** extern void xcoffout_declare_function P
*** 209,211 ****
--- 211,215 ----
extern void xcoffout_source_line PARAMS ((FILE *, const char *, rtx));
#endif /* BUFSIZ */
#endif /* RTX_CODE */
+
+ #endif /* GCC_XCOFFOUT_H */
Index: ch/actions.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ch/actions.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 actions.h
*** actions.h 2000/12/07 01:55:52 1.6
--- actions.h 2001/02/22 16:38:08
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CH_ACTIONS_H
+ #define GCC_CH_ACTIONS_H 1
+
/* used by compile_file */
void init_chill PARAMS ((void));
*************** extern int chill_handle_single_dimensio
*** 32,34 ****
--- 35,39 ----
extern tree build_chill_multi_dimension_case_expr PARAMS ((tree, tree, tree));
extern tree build_multi_case_selector_expression PARAMS ((tree, tree));
extern void compute_else_ranges PARAMS ((tree, tree));
+
+ #endif /* GCC_CH_ACTIONS_H */
Index: ch/lex.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ch/lex.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 lex.h
*** lex.h 2000/12/07 01:55:52 1.7
--- lex.h 2001/02/22 16:38:08
*************** along with GNU CC; see the file COPYING.
*** 19,26 ****
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-
enum rid
{
RID_UNUSED, /* keep this one first, please */
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CH_LEX_H
+ #define GCC_CH_LEX_H 1
enum rid
{
RID_UNUSED, /* keep this one first, please */
*************** extern int chill_at_module_level;
*** 96,98 ****
--- 97,101 ----
extern tree chill_initializer_name;
extern void prepare_paren_colon PARAMS ((void));
+
+ #endif /* GCC_CH_LEX_H */
Index: ch/parse.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ch/parse.h,v
retrieving revision 1.3
diff -c -3 -p -r1.3 parse.h
*** parse.h 1999/09/07 21:02:43 1.3
--- parse.h 2001/02/22 16:38:08
***************
*** 1,3 ****
--- 1,6 ----
+ #ifndef GCC_CH_PARSE_H
+ #define GCC_CH_PARSE_H 1
+
typedef union {
long itype;
tree ttype;
*************** enum terminal
*** 68,70 ****
--- 71,75 ----
dummy_last_terminal
};
+
+ #endif /* GCC_CH_PARSE_H */
Index: cp/decl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/decl.h,v
retrieving revision 1.5
diff -c -3 -p -r1.5 decl.h
*** decl.h 2000/01/26 20:51:34 1.5
--- decl.h 2001/02/22 16:38:10
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_CP_DECL_H
+ #define GCC_CP_DECL_H 1
+
/* In grokdeclarator, distinguish syntactic contexts of declarators. */
enum decl_context
{ NORMAL, /* Ordinary declaration */
*************** extern tree static_aggregates;
*** 47,49 ****
--- 50,54 ----
/* Purely for debugging purposes. */
extern int debug_bindings_indentation;
#endif
+
+ #endif /* GCC_CP_DECL_H */
Index: java/buffer.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/buffer.h,v
retrieving revision 1.4
diff -c -3 -p -r1.4 buffer.h
*** buffer.h 2000/01/21 20:57:00 1.4
--- buffer.h 2001/02/22 16:38:11
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,26 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_JAVA_BUFFER_H
+ #define GCC_JAVA_BUFFER_H 1
+
/* Written by Per Bothner <bothner@cygnus.com>, July 1998. */
/* A simple data structure for an expandable buffer. */
*************** struct buffer
*** 44,46 ****
--- 47,51 ----
#define BUFFER_RESET(BUFP) ((BUFP)->ptr = (BUFP)->data)
extern void buffer_grow PARAMS ((struct buffer*, int));
+
+ #endif /* GCC_JAVA_BUFFER_H */
Index: java/convert.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/convert.h,v
retrieving revision 1.4
diff -c -3 -p -r1.4 convert.h
*** convert.h 2000/01/21 20:57:00 1.4
--- convert.h 2001/02/22 16:38:11
*************** along with GNU CC; see the file COPYING.
*** 19,24 ****
--- 19,27 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_JAVA_CONVERT_H
+ #define GCC_JAVA_CONVERT_H 1
+
/* Written by Jeffrey Hsu <hsu@cygnus.com> */
extern tree convert_to_boolean PARAMS ((tree, tree));
*************** extern tree convert_to_char PARAMS ((
*** 26,28 ****
--- 29,33 ----
extern tree convert_to_integer PARAMS ((tree type, tree expr));
extern tree convert_to_real PARAMS ((tree type, tree expr));
extern tree convert_to_pointer PARAMS ((tree type, tree expr));
+
+ #endif /* GCC_JAVA_CONVERT_H */
Index: java/java-except.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-except.h,v
retrieving revision 1.9
diff -c -3 -p -r1.9 java-except.h
*** java-except.h 2000/02/26 19:56:23 1.9
--- java-except.h 2001/02/22 16:38:11
*************** Java and all Java-based marks are tradem
*** 23,28 ****
--- 23,31 ----
of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
+ #ifndef GCC_JAVA_JAVA_EXCEPT_H
+ #define GCC_JAVA_JAVA_EXCEPT_H 1
+
struct eh_range
{
/* The (byte-code PC) range of the handled block. */
*************** extern void add_handler PARAMS ((int, in
*** 72,74 ****
--- 75,79 ----
extern void handle_nested_ranges PARAMS ((void));
extern void expand_resume_after_catch PARAMS ((void));
+
+ #endif /* GCC_JAVA_JAVA_EXCEPT_H */
Index: java/java-opcodes.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-opcodes.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 java-opcodes.h
*** java-opcodes.h 1998/12/16 21:20:04 1.2
--- java-opcodes.h 2001/02/22 16:38:11
***************
*** 1,5 ****
--- 1,10 ----
+ #ifndef GCC_JAVA_JAVA_OPCODES_H
+ #define GCC_JAVA_JAVA_OPCODES_H 1
+
enum java_opcode {
#define JAVAOP(NAME, CODE, KIND, TYPE, VALUE) OPCODE_##NAME = CODE,
#include "javaop.def"
#undef JAVAOP
};
+
+ #endif /* GCC_JAVA_JAVA_OPCODES_H */
Index: java/java-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/java-tree.h,v
retrieving revision 1.98
diff -c -3 -p -r1.98 java-tree.h
*** java-tree.h 2001/02/14 00:03:11 1.98
--- java-tree.h 2001/02/22 16:38:11
*************** Java and all Java-based marks are tradem
*** 23,28 ****
--- 23,31 ----
of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
+ #ifndef GCC_JAVA_JAVA_TREE_H
+ #define GCC_JAVA_JAVA_TREE_H 1
+
/* Hacked by Per Bothner <bothner@cygnus.com> February 1996. */
#include "hash.h"
*************** enum
*** 1559,1561 ****
--- 1562,1566 ----
};
#undef DEBUG_JAVA_BINDING_LEVELS
+
+ #endif /* GCC_JAVA_JAVA_TREE_H */
Index: java/keyword.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/keyword.h,v
retrieving revision 1.6
diff -c -3 -p -r1.6 keyword.h
*** keyword.h 2000/11/20 22:37:22 1.6
--- keyword.h 2001/02/22 16:38:11
*************** Java and all Java-based marks are tradem
*** 25,30 ****
--- 25,33 ----
of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
+ #ifndef GCC_JAVA_KEYWORD_H
+ #define GCC_JAVA_KEYWORD_H 1
+
struct java_keyword { const char *name; int token; };
#ifdef __GNUC__
__inline
*************** java_keyword (str, len)
*** 186,188 ****
--- 189,193 ----
}
return 0;
}
+
+ #endif /* GCC_JAVA_KEYWORD_H */
Index: java/xref.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/xref.h,v
retrieving revision 1.8
diff -c -3 -p -r1.8 xref.h
*** xref.h 2000/01/21 20:57:00 1.8
--- xref.h 2001/02/22 16:38:11
*************** Java and all Java-based marks are tradem
*** 23,28 ****
--- 23,31 ----
of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
+ #ifndef GCC_JAVA_XREF_H
+ #define GCC_JAVA_XREF_H 1
+
/* Exported functions. */
int xref_flag_value PARAMS ((const char *));
void expand_xref PARAMS ((tree));
*************** typedef struct {
*** 46,48 ****
--- 49,53 ----
} xref_flag_table;
#define XREF_GET_DATA(FLAG, T) ((T)xref_get_data (FLAG))
+
+ #endif /* GCC_JAVA_XREF_H */
Index: java/zipfile.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/zipfile.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 zipfile.h
*** zipfile.h 2001/01/21 21:50:36 1.11
--- zipfile.h 2001/02/22 16:38:11
*************** Java and all Java-based marks are tradem
*** 21,26 ****
--- 21,29 ----
of Sun Microsystems, Inc. in the United States and other countries.
The Free Software Foundation is independent of Sun Microsystems, Inc. */
+ #ifndef GCC_JAVA_ZIPFILE_H
+ #define GCC_JAVA_ZIPFILE_H 1
+
struct ZipFile {
char *name;
int fd;
*************** extern int read_zip_member PARAMS ((JCF*
*** 65,67 ****
--- 68,72 ----
extern int open_in_zip PARAMS ((struct JCF *, const char *,
const char *, int));
#endif
+
+ #endif /* GCC_JAVA_ZIPFILE_H */
Index: objc/objc-act.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/objc/objc-act.h,v
retrieving revision 1.5
diff -c -3 -p -r1.5 objc-act.h
*** objc-act.h 2000/09/17 07:38:22 1.5
--- objc-act.h 2001/02/22 16:38:11
*************** along with GNU CC; see the file COPYING.
*** 18,23 ****
--- 18,25 ----
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ #ifndef GCC_OBJC_OBJC_ACT_H
+ #define GCC_OBJC_OBJC_ACT_H 1
/*** Public Interface (procedures) ***/
*************** enum objc_tree_code {
*** 116,118 ****
--- 118,122 ----
LAST_OBJC_TREE_CODE
};
#undef DEFTREECODE
+
+ #endif /* GCC_OBJC_OBJC_ACT_H */
More information about the Gcc-patches
mailing list