1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Add stub function. Noted by Daniel Leidert.

This commit is contained in:
Werner Koch 2009-06-02 15:26:06 +00:00
parent 851ecc6e55
commit 58a0c9ee49
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-06-02 Werner Koch <wk@g10code.com>
* gpgv.c (tty_cleanup_after_signal): Add new stub.
2009-05-22 Werner Koch <wk@g10code.com> 2009-05-22 Werner Koch <wk@g10code.com>
* signal.c (got_fatal_signal): Call tty_cleanup_after_signal. * signal.c (got_fatal_signal): Call tty_cleanup_after_signal.

View File

@ -417,6 +417,7 @@ char *tty_get_hidden( const char *prompt ) {return NULL; }
void tty_kill_prompt(void) {} void tty_kill_prompt(void) {}
int tty_get_answer_is_yes( const char *prompt ) {return 0;} int tty_get_answer_is_yes( const char *prompt ) {return 0;}
int tty_no_terminal(int onoff) {return 0;} int tty_no_terminal(int onoff) {return 0;}
void tty_cleanup_after_signal (void) {}
#ifdef HAVE_LIBREADLINE #ifdef HAVE_LIBREADLINE
void tty_enable_completion(rl_completion_func_t *completer) {} void tty_enable_completion(rl_completion_func_t *completer) {}
void tty_disable_completion(void) {} void tty_disable_completion(void) {}