mirror of
https://github.com/shadps4-emu/ext-libusb.git
synced 2026-01-31 00:55:21 +01:00
committed by
Tormod Volden
parent
c4285dd49d
commit
6d2abd0990
@@ -1 +1 @@
|
||||
#define LIBUSB_NANO 11819
|
||||
#define LIBUSB_NANO 11820
|
||||
|
||||
@@ -110,8 +110,8 @@ static libusb_testlib_result test_init_context_log_level(void) {
|
||||
LIBUSB_TEST_CLEAN_EXIT(TEST_STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
static void test_log_cb(libusb_context *ctx, enum libusb_log_level level,
|
||||
const char *str) {
|
||||
static void LIBUSB_CALL test_log_cb(libusb_context *ctx, enum libusb_log_level level,
|
||||
const char *str) {
|
||||
UNUSED(ctx);
|
||||
UNUSED(level);
|
||||
UNUSED(str);
|
||||
|
||||
@@ -192,7 +192,7 @@ static libusb_testlib_result test_no_discovery(void)
|
||||
}
|
||||
|
||||
#if defined(ENABLE_LOGGING) && !defined(ENABLE_DEBUG_LOGGING)
|
||||
static void test_log_cb(libusb_context *ctx, enum libusb_log_level level,
|
||||
static void LIBUSB_CALL test_log_cb(libusb_context *ctx, enum libusb_log_level level,
|
||||
const char *str) {
|
||||
UNUSED(ctx);
|
||||
UNUSED(level);
|
||||
|
||||
@@ -876,7 +876,7 @@ transfer_submit_all_retry(TestThreadedSubmit *data)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
static void LIBUSB_CALL
|
||||
test_threaded_submit_transfer_cb(struct libusb_transfer *transfer)
|
||||
{
|
||||
TestThreadedSubmit *data = transfer->user_data;
|
||||
@@ -955,7 +955,7 @@ test_threaded_submit(UMockdevTestbedFixture * fixture, UNUSED_DATA)
|
||||
g_free (c);
|
||||
}
|
||||
|
||||
static int
|
||||
static int LIBUSB_CALL
|
||||
hotplug_count_arrival_cb(libusb_context *ctx,
|
||||
libusb_device *device,
|
||||
libusb_hotplug_event event,
|
||||
@@ -972,7 +972,7 @@ hotplug_count_arrival_cb(libusb_context *ctx,
|
||||
}
|
||||
|
||||
#ifdef UMOCKDEV_HOTPLUG
|
||||
static int
|
||||
static int LIBUSB_CALL
|
||||
hotplug_count_removal_cb(libusb_context *ctx,
|
||||
libusb_device *device,
|
||||
libusb_hotplug_event event,
|
||||
|
||||
Reference in New Issue
Block a user