diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-13 18:49:15 -0500 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-13 18:49:15 -0500 |
commit | c578a300c7d0d46662fcd0bdce69af95a821bc18 (patch) | |
tree | a99de333f2812d7c018820f39d78b8c4e744f705 /libhw/host_net.c | |
parent | 6a719c63ecb83a850c317ea94b8932aa0c857770 (diff) | |
parent | 57cc0523f600575feda09bd9fae13f685ce85b0f (diff) |
Merge commit '57cc0523f600575feda09bd9fae13f685ce85b0f'
Diffstat (limited to 'libhw/host_net.c')
-rw-r--r-- | libhw/host_net.c | 5 |
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); } |