aboutsummaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/passphrase.c')
-rw-r--r--g10/passphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c
index 604452d46..c5ec8eae4 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -49,7 +49,7 @@ static char *last_pw = NULL;
int
-have_static_passphrase()
+have_static_passphrase (void)
{
return (!!fd_passwd
&& (opt.batch || opt.pinentry_mode == PINENTRY_MODE_LOOPBACK));
@@ -89,7 +89,7 @@ set_next_passphrase( const char *s )
* the caller must free the result. May return NULL:
*/
char *
-get_last_passphrase()
+get_last_passphrase (void)
{
char *p = last_pw;
last_pw = NULL;