summaryrefslogtreecommitdiff
path: root/testing/libusb-compat/libusb-0.1-libusbx.patch
blob: 61563651b25a94c6b8d535d60b4a13ffc03c1005 (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)