aboutsummaryrefslogtreecommitdiffstats
path: root/common/ttyio.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-01-17 09:19:06 +0000
committerWerner Koch <[email protected]>2017-01-17 09:19:06 +0000
commitbae42e543799a428e59bad870aed9719dd6e6e45 (patch)
tree7c1ad041bb689139b5e7626d346de8b3cedbb910 /common/ttyio.h
parentgpg: Prepare some key cleaning function for use with secret key packets. (diff)
downloadgnupg-bae42e543799a428e59bad870aed9719dd6e6e45.tar.gz
gnupg-bae42e543799a428e59bad870aed9719dd6e6e45.zip
common: Remove unused function tty_print_string.
* common/ttyio.c (tty_print_string): Rename to ... (do_print_string): this. Make local. Simplify FP case by using print_utf8_buffer. Change caller. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/ttyio.h')
-rw-r--r--common/ttyio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/ttyio.h b/common/ttyio.h
index 004aa859a..5bff82fbb 100644
--- a/common/ttyio.h
+++ b/common/ttyio.h
@@ -47,7 +47,6 @@ void tty_printf (const char *fmt, ... );
void tty_fprintf (estream_t fp, const char *fmt, ... );
char *tty_getf (const char *promptfmt, ... );
#endif
-void tty_print_string (estream_t fp, const unsigned char *p, size_t n);
void tty_print_utf8_string (const unsigned char *p, size_t n);
void tty_print_utf8_string2 (estream_t fp,
const unsigned char *p, size_t n, size_t max_n);