aboutsummaryrefslogtreecommitdiffstats
path: root/common/ttyio.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/ttyio.h')
-rw-r--r--common/ttyio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ttyio.h b/common/ttyio.h
index eb2116a02..e1dc0f053 100644
--- a/common/ttyio.h
+++ b/common/ttyio.h
@@ -28,13 +28,13 @@ int tty_batchmode (int onoff);
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... )
__attribute__ ((format (printf,1,2)));
-void tty_fprintf (FILE *fp, const char *fmt, ... )
+void tty_fprintf (estream_t fp, const char *fmt, ... )
__attribute__ ((format (printf,2,3)));
char *tty_getf (const char *promptfmt, ... )
__attribute__ ((format (printf,1,2)));
#else
void tty_printf (const char *fmt, ... );
-void tty_fprintf (FILE *fp, const char *fmt, ... );
+void tty_fprintf (estream_t fp, const char *fmt, ... );
char *tty_getf (const char *promptfmt, ... );
#endif
void tty_print_string (const unsigned char *p, size_t n);