]> err.no Git - yubikey-personalization.old/commitdiff
Add function declaration to silence warning
authorClemens Lang <neverpanic@gmail.com>
Sat, 18 Feb 2012 16:42:12 +0000 (17:42 +0100)
committerClemens Lang <neverpanic@gmail.com>
Sat, 18 Feb 2012 16:42:12 +0000 (17:42 +0100)
yk_force_key_update was used without being declared

ykcore/ykcore.c

index 35a07d8c2961cf4f40a2653e161e738659561af9..c02d51f5a6fab3d72491034832c3214592475221 100644 (file)
@@ -56,6 +56,8 @@ 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();