/* OSF/rose half-pic support definitions.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
#ifndef NO_HALF_PIC
-/* Add prototype support. */
-#ifndef PROTO
-#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
-#define PROTO(ARGS) ARGS
-#else
-#define PROTO(ARGS) ()
-#endif
-#endif
-
-#if !defined(STDIO_PROTO) && !defined(NO_STDIO_H)
-#ifndef BUFSIZ
-#include <stdio.h>
-#endif
-
-#define STDIO_PROTO(ARGS) PROTO(ARGS)
-#endif
-
-#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
+#ifdef ANSI_PROTOTYPES
union tree_node; /* forward reference */
struct rtx_def;
#endif
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). */
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 */
-#ifdef STDIO_PROTO
-extern void half_pic_finish STDIO_PROTO((FILE *)); /* half_pic termination */
-#endif
+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 */
/* Macros to provide access to the half-pic stuff (so they can easily
be stubbed out. */