* 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
+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.
2001-10-04 Geert Bosch <bosch@gnat.com>
* 3lsoccon.ads: Added file, missed with initial check ins.
* *
* C Header File *
* *
* *
* C Header File *
* *
extern int __gnat_pipe PARAMS ((int *));
extern int __gnat_expect_poll PARAMS ((int *, int, int,
int *));
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
extern char *__gnat_ttyname PARAMS ((int));
#ifdef IN_RTS
* *
* C Implementation File *
* *
* *
* C Implementation File *
* *
* *
* Copyright (C) 1992-2001 Free Software Foundation, Inc. *
* *
* *
* Copyright (C) 1992-2001 Free Software Foundation, Inc. *
* *
/* These functions do nothing in non-DOS systems. */
void
/* 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;
-__gnat_set_text_mode (stream)
- FILE *stream ATTRIBUTE_UNUSED;
+__gnat_set_text_mode (handle)
+ int handle ATTRIBUTE_UNUSED;