]> err.no Git - yubikey-personalization/commitdiff
let ykpers-args.c include ykpers-args.h and fix function declaraction for report_yk_e...
authorKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 12:01:34 +0000 (14:01 +0200)
committerKlas Lindfors <klas@yubico.com>
Tue, 18 Sep 2012 12:01:34 +0000 (14:01 +0200)
ykpers-args.c
ykpers-args.h

index 9bd4b52b696c430bbe5539c8cdf6f35c74b01591..7abbbd420328ed6a92002bfd8e6f43545c4f7583 100644 (file)
@@ -41,6 +41,7 @@
 #include <ykpers.h>
 #include <yubikey.h> /* To get yubikey_modhex_encode and yubikey_hex_encode */
 #include <ykdef.h>
+#include "ykpers-args.h"
 
 #define YUBICO_OATH_VENDOR_ID_HEX      0xe1    /* UB as hex */
 #define YUBICO_HOTP_EVENT_TOKEN_TYPE   0x63    /* HE as hex */
index 725c4dc37c95e18b105062e29fb627c7574e7037..02c3bb326cf0963fb2e3305b0c215d948d77e634 100644 (file)
@@ -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