sysdep.c (__gnat_set_binary_mode, [...]): Arg is int, not FILE *, in dummy version...
authorGeert Bosch <bosch@gnat.com>
Thu, 4 Oct 2001 19:30:04 +0000 (21:30 +0200)
committerGeert Bosch <bosch@gcc.gnu.org>
Thu, 4 Oct 2001 19:30:04 +0000 (21:30 +0200)
* 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 *.

From-SVN: r46012

gcc/ada/ChangeLog
gcc/ada/adaint.h
gcc/ada/sysdep.c

index 0ef137ebf14a387c7138bf7e69ed5536aa1969fa..65390f866679fb3242af048f1cc5986e96994e1b 100644 (file)
@@ -1,3 +1,11 @@
+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.
index ca8ef6f737a4439ebc4e6fadd36c5553ade41691..43b9f400101fe804ad95eb791bca730b8d18a132 100644 (file)
@@ -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
index 5473ebee42ec5fa97494390f1140263628029981..de2c4c5411cc1887f49fd8c42559b88a028ba163 100644 (file)
@@ -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 *