aboutsummaryrefslogtreecommitdiffstats
path: root/include/ttyio.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-08 15:20:58 +0000
committerWerner Koch <[email protected]>2003-10-08 15:20:58 +0000
commitfcbd46e0708586cf4412384f27189ab0241da03a (patch)
tree62329e5d5a7804f5c305fac76ce32bf931e85133 /include/ttyio.h
parent* primegen.c (gen_prime): Bail out if NBITS is zero. This is (diff)
downloadgnupg-fcbd46e0708586cf4412384f27189ab0241da03a.tar.gz
gnupg-fcbd46e0708586cf4412384f27189ab0241da03a.zip
(tty_print_string, tty_print_utf8_string2)
(tty_print_utf8_string): Made string arg const.
Diffstat (limited to '')
-rw-r--r--include/ttyio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ttyio.h b/include/ttyio.h
index 8e8722d7c..f3d83b9dc 100644
--- a/include/ttyio.h
+++ b/include/ttyio.h
@@ -30,9 +30,9 @@ int tty_batchmode( int onoff );
void tty_printf (const char *fmt, ... );
void tty_fprintf (FILE *fp, 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 );
+void tty_print_string( const byte *p, size_t n );
+void tty_print_utf8_string( const byte *p, size_t n );
+void tty_print_utf8_string2( const byte *p, size_t n, size_t max_n );
char *tty_get( const char *prompt );
char *tty_get_hidden( const char *prompt );
void tty_kill_prompt(void);