aboutsummaryrefslogtreecommitdiff
path: root/mcu/usb-usbip.c
diff options
context:
space:
mode:
Diffstat (limited to 'mcu/usb-usbip.c')
-rw-r--r--mcu/usb-usbip.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mcu/usb-usbip.c b/mcu/usb-usbip.c
index ad19d43..9e585c8 100644
--- a/mcu/usb-usbip.c
+++ b/mcu/usb-usbip.c
@@ -47,7 +47,7 @@
#include <poll.h>
#include <usb_lld.h>
-#include <usb_lld_common.h>
+#include <usb_lld_driver.h>
#include <alloca.h>
@@ -200,15 +200,12 @@ static struct usb_controller usbc;
static void
notify_device (uint8_t intr, uint8_t ep_num, uint8_t dir)
{
- extern sigset_t ss_cur;
-
pthread_mutex_lock (&usbc.mutex);
if (usbc.intr)
pthread_cond_wait (&usbc.cond, &usbc.mutex);
usbc.intr = intr;
usbc.dir = (dir == USBIP_DIR_IN);
usbc.ep_num = ep_num;
- fprintf (stderr, "sigmask: %08llx\n", *(long long *)&ss_cur);
pthread_kill (tid_main, SIGUSR1);
pthread_mutex_unlock (&usbc.mutex);
}