]> err.no Git - yubikey-personalization.old/commitdiff
Move declaration of yk_force_key_update to header file.
authorFredrik Thulin <fredrik@yubico.com>
Thu, 24 May 2012 12:57:36 +0000 (14:57 +0200)
committerFredrik Thulin <fredrik@yubico.com>
Thu, 24 May 2012 12:57:36 +0000 (14:57 +0200)
ykcore/ykcore.c
ykcore/ykcore.h

index 200b5858b6857f6c3a595abc5622da02dc2f7967..a4b391403ca529450c2fedaf7afc4d196faa092f 100644 (file)
@@ -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();
index d45524ea89fa08f0d6e373cd78c8ef4ad5f56aef..62146a58ee040f507a03d117c92a861c07816910 100644 (file)
@@ -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