From 8fefd4e7e11f8bccee782613c3f4784f5165733c Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 21 Sep 2012 08:28:35 +0200 Subject: [PATCH] extern on function yk_write_ndef() --- ykcore/ykcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.5