summaryrefslogtreecommitdiff
path: root/libhw/host_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhw/host_net.c')
-rw-r--r--libhw/host_net.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libhw/host_net.c b/libhw/host_net.c
index 2ba8b23..917e764 100644
--- a/libhw/host_net.c
+++ b/libhw/host_net.c
@@ -20,6 +20,7 @@
#include <libcr/coroutine.h>
#include <libmisc/assert.h>
+#include <libmisc/macro.h>
#include <libmisc/vcall.h>
#include <libhw/generic/alarmclock.h>
@@ -31,11 +32,9 @@
/* common *********************************************************************/
-#define UNUSED(name)
-
static int hostnet_sig_io = 0;
-static void hostnet_handle_sig_io(int UNUSED(sig), siginfo_t *info, void *UNUSED(ucontext)) {
+static void hostnet_handle_sig_io(int LM_UNUSED(sig), siginfo_t *info, void *LM_UNUSED(ucontext)) {
cr_unpause_from_intrhandler((cid_t)info->si_value.sival_int);
}