summaryrefslogtreecommitdiffstats
path: root/common/get-passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/get-passphrase.c')
-rw-r--r--common/get-passphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/get-passphrase.c b/common/get-passphrase.c
index e1a11482e..090079405 100644
--- a/common/get-passphrase.c
+++ b/common/get-passphrase.c
@@ -103,7 +103,7 @@ start_agent (void)
/* This is the default inquiry callback. It merely handles the
Pinentry notification. */
-static int
+static gpg_error_t
default_inq_cb (void *opaque, const char *line)
{
(void)opaque;
@@ -120,7 +120,7 @@ default_inq_cb (void *opaque, const char *line)
}
-static int
+static gpg_error_t
membuf_data_cb (void *opaque, const void *buffer, size_t length)
{
membuf_t *data = opaque;