summaryrefslogtreecommitdiff
path: root/gcc/halfpic.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-13 01:39:51 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-13 01:39:51 +0000
commit9906180ce0355a5a42fcf7e6ff8c2910b3d5362b (patch)
tree89c936eb5bd897e53577254e417a32d8f170e490 /gcc/halfpic.h
parent90d8d045280a59fb14adda82d129b29035cb49b6 (diff)
downloadgcc-9906180ce0355a5a42fcf7e6ff8c2910b3d5362b.tar.gz
Hack to get cp-errfn.c to compile without stdio.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7044 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/halfpic.h')
-rw-r--r--gcc/halfpic.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/halfpic.h b/gcc/halfpic.h
index 32b0108ae8f..8b603bf8e7e 100644
--- a/gcc/halfpic.h
+++ b/gcc/halfpic.h
@@ -28,7 +28,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif
-#ifndef STDIO_PROTO
+#if !defined(STDIO_PROTO) && !defined(NO_STDIO_H)
#ifndef BUFSIZ
#include <stdio.h>
#endif
@@ -59,9 +59,11 @@ extern void half_pic_encode PROTO((union tree_node *)); /* encode whether half-
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 void half_pic_finish STDIO_PROTO((FILE *)); /* half_pic termination */
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
/* Macros to provide access to the half-pic stuff (so they can easily
be stubbed out. */