diff options
Diffstat (limited to 'gpg-interface.c')
-rw-r--r-- | gpg-interface.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gpg-interface.c b/gpg-interface.c index 6a3817bbca..f7c1d385c1 100644 --- a/gpg-interface.c +++ b/gpg-interface.c @@ -15,7 +15,8 @@ #include "wrapper.h" #include "environment.h" -static int git_gpg_config(const char *, const char *, void *); +static int git_gpg_config(const char *, const char *, + const struct config_context *, void *); static void gpg_interface_lazy_init(void) { @@ -721,7 +722,9 @@ void set_signing_key(const char *key) configured_signing_key = xstrdup(key); } -static int git_gpg_config(const char *var, const char *value, void *cb UNUSED) +static int git_gpg_config(const char *var, const char *value, + const struct config_context *ctx UNUSED, + void *cb UNUSED) { struct gpg_format *fmt = NULL; char *fmtname = NULL; |