From: Simon Josefsson Date: Thu, 14 Apr 2011 17:38:15 +0000 (+0200) Subject: Assume a fixed MinGW-w64 environment, drop work arounds for missing prototypes. X-Git-Tag: v1.5.2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56a3959fb422c3978c47a367b65be1c66ec1afdf;p=yubikey-personalization Assume a fixed MinGW-w64 environment, drop work arounds for missing prototypes. --- diff --git a/ykcore/ykcore_windows.c b/ykcore/ykcore_windows.c index e87da7b..707f2ef 100644 --- a/ykcore/ykcore_windows.c +++ b/ykcore/ykcore_windows.c @@ -36,23 +36,8 @@ #include #include #include -typedef LONG NTSTATUS; #include - -BOOLEAN __stdcall HidD_GetAttributes( - HANDLE HidDeviceObject, - PHIDD_ATTRIBUTES Attributes - ); -BOOLEAN __stdcall HidD_GetFeature( - HANDLE HidDeviceObject, - PVOID ReportBuffer, - ULONG ReportBufferLength - ); -BOOLEAN __stdcall HidD_SetFeature( - HANDLE HidDeviceObject, - PVOID ReportBuffer, - ULONG ReportBufferLength - ); +#include int _ykusb_start(void) {