From: Fredrik Thulin Date: Thu, 24 May 2012 12:57:36 +0000 (+0200) Subject: Move declaration of yk_force_key_update to header file. X-Git-Tag: v1.6.4~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0dd806ed7cea938059de186a288e7a97b301ba8;p=yubikey-personalization.old Move declaration of yk_force_key_update to header file. --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 200b585..a4b3914 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -56,8 +56,6 @@ int yk_read_response_from_key(YK_KEY *yk, uint8_t slot, unsigned int flags, void *buf, unsigned int bufsize, unsigned int expect_bytes, unsigned int *bytes_read); -int yk_force_key_update(YK_KEY *yk); - int yk_init(void) { return _ykusb_start(); diff --git a/ykcore/ykcore.h b/ykcore/ykcore.h index d45524e..62146a5 100644 --- a/ykcore/ykcore.h +++ b/ykcore/ykcore.h @@ -114,6 +114,8 @@ extern int yk_write_config(YK_KEY *k, YK_CONFIG *cfg, int confnum, /* 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); +extern int yk_force_key_update(YK_KEY *yk); + /************************************************************************* * * Error handling fuctions