From e2a3fd2c9966c293b8a4623fa1b073bde4590bdc Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 18 Sep 2012 14:01:34 +0200 Subject: [PATCH] let ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_error() --- ykpers-args.c | 1 + ykpers-args.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ykpers-args.c b/ykpers-args.c index 9bd4b52..7abbbd4 100644 --- a/ykpers-args.c +++ b/ykpers-args.c @@ -41,6 +41,7 @@ #include #include /* To get yubikey_modhex_encode and yubikey_hex_encode */ #include +#include "ykpers-args.h" #define YUBICO_OATH_VENDOR_ID_HEX 0xe1 /* UB as hex */ #define YUBICO_HOTP_EVENT_TOKEN_TYPE 0x63 /* HE as hex */ diff --git a/ykpers-args.h b/ykpers-args.h index 725c4dc..02c3bb3 100644 --- a/ykpers-args.h +++ b/ykpers-args.h @@ -41,6 +41,6 @@ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, YK_KEY *yk, bool *aesviahash, char *ndef_type, char *ndef, int *exit_code); -void report_yk_error(); +void report_yk_error(void); #endif -- 2.39.5