From: Klas Lindfors Date: Fri, 21 Sep 2012 06:28:35 +0000 (+0200) Subject: extern on function yk_write_ndef() X-Git-Tag: v1.8.0~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fefd4e7e11f8bccee782613c3f4784f5165733c;p=yubikey-personalization extern on function yk_write_ndef() --- diff --git a/ykcore/ykcore.h b/ykcore/ykcore.h index 79069f8..74f9bb0 100644 --- a/ykcore/ykcore.h +++ b/ykcore/ykcore.h @@ -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. */