Skip to content

Commit f16e0b3

Browse files
authored
Revert Pull Request #26
libusb/libusb#1241 has been merged and libusb_init is not deprecated now in libusb.
1 parent c497eff commit f16e0b3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

libusb/core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
#define ENODATA EIO
4545
#endif
4646

47-
#if !defined(LIBUSB_API_VERSION) || (LIBUSB_API_VERSION < 0x0100010A)
48-
#define libusb_init_context(a, b, c) libusb_init(a)
49-
#endif
50-
5147
static libusb_context *ctx = NULL;
5248
static int usb_debug = 0;
5349

0 commit comments

Comments
 (0)