aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/gdb.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-10-08 15:22:38 +0000
committerMark Johnston <markj@FreeBSD.org>2022-10-08 15:33:21 +0000
commit98d920d9cf0b439ea351c60353626946971684f6 (patch)
tree92aae6a56887e5efe045eded751bc1b9694e6a87 /usr.sbin/bhyve/gdb.c
parent143942f9929a36ec7fe56556d0afe0b2d23e08c4 (diff)
downloadsrc-98d920d9cf0b439ea351c60353626946971684f6.tar.gz
src-98d920d9cf0b439ea351c60353626946971684f6.zip
Diffstat (limited to 'usr.sbin/bhyve/gdb.c')
-rw-r--r--usr.sbin/bhyve/gdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bhyve/gdb.c b/usr.sbin/bhyve/gdb.c
index 81f132e17350..cf0d5995a5d3 100644
--- a/usr.sbin/bhyve/gdb.c
+++ b/usr.sbin/bhyve/gdb.c
@@ -1704,7 +1704,7 @@ check_command(int fd)
}
static void
-gdb_readable(int fd, enum ev_type event, void *arg)
+gdb_readable(int fd, enum ev_type event __unused, void *arg __unused)
{
ssize_t nread;
int pending;
@@ -1743,14 +1743,14 @@ gdb_readable(int fd, enum ev_type event, void *arg)
}
static void
-gdb_writable(int fd, enum ev_type event, void *arg)
+gdb_writable(int fd, enum ev_type event __unused, void *arg __unused)
{
send_pending_data(fd);
}
static void
-new_connection(int fd, enum ev_type event, void *arg)
+new_connection(int fd, enum ev_type event __unused, void *arg)
{
int optval, s;