You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libusb-compat/files/libusb-0.1-libusbx.patch

20 lines
429 B

http://libusb.org/ticket/138
http://sourceforge.net/apps/trac/libusbx/ticket/31
http://bugs.gentoo.org/423135
--- libusb/core.c
+++ libusb/core.c
@@ -32,12 +32,6 @@
static libusb_context *ctx = NULL;
static int usb_debug = 0;
-enum usbi_log_level {
- LOG_LEVEL_DEBUG,
- LOG_LEVEL_INFO,
- LOG_LEVEL_WARNING,
- LOG_LEVEL_ERROR,
-};
#ifdef ENABLE_LOGGING
#define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)