summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-27 00:20:31 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-03-27 00:20:31 +0000
commit7ba2cd99734dabb004273f21949f7f1e000e7829 (patch)
treedbcf977ebe4fca08a6f6a5615fc97de89417373c /gcc/output.h
parenta75553c850e9a01638700f318a705cb80000613c (diff)
downloadgcc-7ba2cd99734dabb004273f21949f7f1e000e7829.tar.gz
Use STDIO_PROTO for prototypes with FILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3888 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 15e910631f8..7e5d03e74b0 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -18,6 +18,14 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#ifndef STDIO_PROTO
+#ifdef BUFSIZ
+#define STDIO_PROTO(ARGS) PROTO(ARGS)
+#else
+#define STDIO_PROTO(ARGS) ()
+#endif
+#endif
+
/* Output a string of assembler code, substituting insn operands.
Defined in final.c. */
extern void output_asm_insn PROTO((char *, rtx *));
@@ -26,15 +34,13 @@ extern void output_asm_insn PROTO((char *, rtx *));
and fixed syntactic prefixes. */
extern void asm_fprintf ();
-#ifdef FILE
/* Print an integer constant expression in assembler syntax.
Addition and subtraction are the only arithmetic
that may appear in these expressions. */
-extern void output_addr_const PROTO((FILE *, rtx));
+extern void output_addr_const STDIO_PROTO((FILE *, rtx));
/* Output a name (as found inside a symbol_ref) in assembler syntax. */
-extern void assemble_name PROTO((FILE *, char *));
-#endif
+extern void assemble_name STDIO_PROTO((FILE *, char *));
/* Replace a SUBREG with a REG or a MEM, based on the thing it is a
subreg of. */
@@ -160,6 +166,6 @@ extern int sdb_begin_function_line;
/* File in which assembler code is being written. */
-#ifdef BUFSIZ /* The hope is that any kind of stdio.h must define BUFSIZ. */
+#ifdef BUFSIZ
extern FILE *asm_out_file;
#endif