#define Sleep(x) usleep((x)*1000)
#endif
+#ifdef YK_DEBUG
+static void _yk_hexdump(void *, int);
+#endif
+
/*
* Yubikey low-level interface section 2.4 (Report arbitration polling) specifies
* a 600 ms timeout for a Yubikey to process something written to it.
return x;
}
+#ifdef YK_DEBUG
/* Private little hexdump function for debugging */
-void _yk_hexdump(void *buffer, int size)
+static void _yk_hexdump(void *buffer, int size)
{
unsigned char *p = buffer;
int i;
fprintf(stderr, "\n");
fflush(stderr);
}
+#endif