aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/protoize.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6462e6e..6edf783 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -23,6 +23,8 @@ Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
+ * protoize.c (creat, read, write): Do not declare.
+
* jump.c (mark_jump_label): Record REG_LABEL notes for insns which
refer to the CODE_LABEL before a dispatch table.
diff --git a/gcc/protoize.c b/gcc/protoize.c
index e61e92e6..699bfe6 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -163,14 +163,14 @@ typedef char * const_pointer_type;
/* Declaring stat or __flsbuf with a prototype
causes conflicts with system headers on some systems. */
-extern int creat ();
#if 0 /* These conflict with stdio.h on some systems. */
+extern int creat ();
extern int fprintf (FILE *, const char *, ...);
extern int printf (const char *, ...);
extern int open (const char *, int, ...);
-#endif /* 0 */
extern int read ();
extern int write ();
+#endif /* 0 */
extern int close ();
extern int fflush ();
extern int atoi ();