diff options
author | Werner Koch <[email protected]> | 2010-03-15 11:15:45 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-03-15 11:15:45 +0000 |
commit | fb2ba98963beea249474f5d6d7345cf9b4b7f570 (patch) | |
tree | 3c9b25d63f90a71caec5685fca945341d54bef9d /common/ttyio.h | |
parent | Use a custom log handler for libassuan. (diff) | |
download | gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.tar.gz gnupg-fb2ba98963beea249474f5d6d7345cf9b4b7f570.zip |
Finished the bulk of changes to use estream in most places instead of
stdio.
Diffstat (limited to 'common/ttyio.h')
-rw-r--r-- | common/ttyio.h | 4 |
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); |