summaryrefslogtreecommitdiffstats
path: root/libusb-compat/libusb-0.1-libusbx.patch
blob: 221c6dee5ca081d61015a7604d24905a15da02b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)