1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

fixed severe format string bug

This commit is contained in:
Werner Koch 2001-05-25 07:22:34 +00:00
parent 42df1779cc
commit ca284c1000
13 changed files with 57 additions and 12 deletions

View file

@ -21,7 +21,11 @@
#define G10_TTYIO_H
int tty_batchmode( int onoff );
void tty_printf( const char *fmt, ... );
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
#else
void tty_printf const char *fmt, ... );
#endif
void tty_print_string( byte *p, size_t n );
void tty_print_utf8_string( byte *p, size_t n );
void tty_print_utf8_string2( byte *p, size_t n, size_t max_n );