From: Clemens Lang Date: Sat, 18 Feb 2012 16:42:12 +0000 (+0100) Subject: Add function declaration to silence warning X-Git-Tag: v1.6.4~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a2ea203d281d2d6875c07b8d64f916795ca4536;p=yubikey-personalization.old Add function declaration to silence warning yk_force_key_update was used without being declared --- diff --git a/ykcore/ykcore.c b/ykcore/ykcore.c index 35a07d8..c02d51f 100644 --- a/ykcore/ykcore.c +++ b/ykcore/ykcore.c @@ -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();