OSDN Git Service

* init.c (build_new): Allow enumeration types for the array-bounds
[pf3gnuchains/gcc-fork.git] / gcc / halfpic.h
index f9c1a69..0f0d900 100644 (file)
@@ -1,5 +1,5 @@
 /* OSF/rose half-pic support definitions.
-   Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -20,9 +20,7 @@ Boston, MA 02111-1307, USA.  */
 
 #ifndef NO_HALF_PIC
 
-#include "gansidecl.h"
-
-#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
+#ifdef ANSI_PROTOTYPES
 union tree_node;               /* forward reference */
 struct rtx_def;
 #endif
@@ -32,7 +30,7 @@ struct rtx_def;
    strict ANSI).  This is because rtl.c now refers to the
    CONSTANT_ADDRESS_P macro, which in turn refers to flag_half_pic,
    and wants to call half_pic_address_p, whose address we also store
-   in in a BSS variable.  This way, the gen* programs won't get
+   in a BSS variable.  This way, the gen* programs won't get
    unknown symbol errors when being linked (flag_half_pic will never
    be true in the gen* programs).  */
 
@@ -41,12 +39,12 @@ int (*ptr_half_pic_address_p) ();   /* ptr to half_pic_address_p () */
 
 extern int  half_pic_number_ptrs;                              /* # distinct pointers found */
 extern int  half_pic_number_refs;                              /* # half-pic references */
-extern void half_pic_encode PROTO((union tree_node *));                /* encode whether half-pic */
-extern void half_pic_declare PROTO((char *));                  /* declare object local */
-extern void half_pic_external PROTO((char *));                 /* declare object external */
-extern void half_pic_init PROTO((void));                       /* half_pic initialization */
-extern int  half_pic_address_p PROTO((struct rtx_def *));      /* true if an address is half-pic */
-extern struct rtx_def *half_pic_ptr PROTO((struct rtx_def *)); /* return RTX for half-pic pointer */
+extern void half_pic_encode PARAMS ((union tree_node *));              /* encode whether half-pic */
+extern void half_pic_declare PARAMS ((char *));                        /* declare object local */
+extern void half_pic_external PARAMS ((char *));                       /* declare object external */
+extern void half_pic_init PARAMS ((void));                     /* half_pic initialization */
+extern int  half_pic_address_p PARAMS ((struct rtx_def *));    /* true if an address is half-pic */
+extern struct rtx_def *half_pic_ptr PARAMS ((struct rtx_def *));       /* return RTX for half-pic pointer */
 /* Can't use prototype since FILE isn't defined yet.  */
 extern void half_pic_finish (/* FILE * */);            /* half_pic termination */