mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* ttyio.c (TERMDEVICE): Removed.
(tty_get_ttyname): New. (init_ttyfp): Use it here instead of the TERMDEVICE macro.
This commit is contained in:
parent
d219b061ac
commit
41fb1aceb7
3 changed files with 47 additions and 14 deletions
|
@ -20,6 +20,7 @@
|
|||
#ifndef G10_TTYIO_H
|
||||
#define G10_TTYIO_H
|
||||
|
||||
const char *tty_get_ttyname (void);
|
||||
int tty_batchmode( int onoff );
|
||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
|
||||
void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue