]> err.no Git - yubikey-personalization/commitdiff
extern on function yk_write_ndef()
authorKlas Lindfors <klas@yubico.com>
Fri, 21 Sep 2012 06:28:35 +0000 (08:28 +0200)
committerKlas Lindfors <klas@yubico.com>
Fri, 21 Sep 2012 06:28:35 +0000 (08:28 +0200)
ykcore/ykcore.h

index 79069f8d0a7f80509a3d6002147a128741a14373..74f9bb00a30b797394121a0a64ef5a2524a96845 100644 (file)
@@ -116,7 +116,7 @@ extern int yk_write_command(YK_KEY *k, YK_CONFIG *cfg, uint8_t command,
 extern int yk_write_config(YK_KEY *k, YK_CONFIG *cfg, int confnum,
                           unsigned char *acc_code);
 /* writes the given ndef to the key. */
-int yk_write_ndef(YK_KEY *yk, YK_NDEF *ndef);
+extern int yk_write_ndef(YK_KEY *yk, YK_NDEF *ndef);
 /* Write something to the YubiKey (a command that is). */
 extern int yk_write_to_key(YK_KEY *yk, uint8_t slot, const void *buf, int bufcount);
 /* Do a challenge-response round with the key. */