aboutsummaryrefslogtreecommitdiffstats
path: root/include/ttyio.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-11-09 17:49:01 +0000
committerWerner Koch <[email protected]>2002-11-09 17:49:01 +0000
commit41fb1aceb715bdaaa91baf2ca82055de0a740e31 (patch)
treeae4b5617147338bc223b4854f165caa4163a02c2 /include/ttyio.h
parent* passphrase.c (agent_send_all_options): Use tty_get_ttyname to (diff)
downloadgnupg-41fb1aceb715bdaaa91baf2ca82055de0a740e31.tar.gz
gnupg-41fb1aceb715bdaaa91baf2ca82055de0a740e31.zip
* ttyio.c (TERMDEVICE): Removed.
(tty_get_ttyname): New. (init_ttyfp): Use it here instead of the TERMDEVICE macro.
Diffstat (limited to 'include/ttyio.h')
-rw-r--r--include/ttyio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ttyio.h b/include/ttyio.h
index 08ca994c9..5f6557930 100644
--- a/include/ttyio.h
+++ b/include/ttyio.h
@@ -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)));