aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ada/ChangeLog8
-rw-r--r--gcc/ada/adaint.h6
-rw-r--r--gcc/ada/sysdep.c10
3 files changed, 16 insertions, 8 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 0ef137e..65390f8 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,13 @@
2001-10-04 Geert Bosch <bosch@gnat.com>
+ * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
+ Arg is int, not FILE *, in dummy version of functions.
+
+ * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
+ Arg is int, not FILE *.
+
+2001-10-04 Geert Bosch <bosch@gnat.com>
+
* 3lsoccon.ads: Added file, missed with initial check ins.
* 4lintnam.ads: Fix header format.
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index ca8ef6f..43b9f40 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -4,7 +4,7 @@
* *
* A D A I N T *
* *
- * $Revision: 1.4 $
+ * $Revision$
* *
* C Header File *
* *
@@ -129,8 +129,8 @@ extern void __gnat_expect_portable_execvp PARAMS ((char *, char *[]));
extern int __gnat_pipe PARAMS ((int *));
extern int __gnat_expect_poll PARAMS ((int *, int, int,
int *));
-extern void __gnat_set_binary_mode PARAMS ((FILE *));
-extern void __gnat_set_text_mode PARAMS ((FILE *));
+extern void __gnat_set_binary_mode PARAMS ((int));
+extern void __gnat_set_text_mode PARAMS ((int));
extern char *__gnat_ttyname PARAMS ((int));
#ifdef IN_RTS
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c
index 5473ebe..de2c4c5 100644
--- a/gcc/ada/sysdep.c
+++ b/gcc/ada/sysdep.c
@@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
- * $Revision: 1.2 $
+ * $Revision$
* *
* Copyright (C) 1992-2001 Free Software Foundation, Inc. *
* *
@@ -264,14 +264,14 @@ const char __gnat_text_translation_required = 0;
/* These functions do nothing in non-DOS systems. */
void
-__gnat_set_binary_mode (stream)
- FILE *stream ATTRIBUTE_UNUSED;
+__gnat_set_binary_mode (handle)
+ int handle ATTRIBUTE_UNUSED;
{
}
void
-__gnat_set_text_mode (stream)
- FILE *stream ATTRIBUTE_UNUSED;
+__gnat_set_text_mode (handle)
+ int handle ATTRIBUTE_UNUSED;
{
}
char *