summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2023-03-08 04:43:16 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2023-03-08 04:43:16 +0000
commitb7ec05677ee9f62c29e195e7be5125d39f7fdad9 (patch)
treed2d92930c9557994e5a771aef772966110966cc3 /usr.sbin/ldpd
parent3f4b7c5f0adcfdffa19cefea0c39206811487db6 (diff)
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
Diffstat (limited to 'usr.sbin/ldpd')
-rw-r--r--usr.sbin/ldpd/adjacency.c4
-rw-r--r--usr.sbin/ldpd/control.c4
-rw-r--r--usr.sbin/ldpd/interface.c3
-rw-r--r--usr.sbin/ldpd/kroute.c3
-rw-r--r--usr.sbin/ldpd/lde.c5
-rw-r--r--usr.sbin/ldpd/lde_lib.c3
-rw-r--r--usr.sbin/ldpd/ldpd.c5
-rw-r--r--usr.sbin/ldpd/ldpe.c6
8 files changed, 8 insertions, 25 deletions
diff --git a/usr.sbin/ldpd/adjacency.c b/usr.sbin/ldpd/adjacency.c
index 8e54b880f3f..2b4d9da9ef1 100644
--- a/usr.sbin/ldpd/adjacency.c
+++ b/usr.sbin/ldpd/adjacency.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adjacency.c,v 1.27 2019/12/12 00:10:29 yasuoka Exp $ */
+/* $OpenBSD: adjacency.c,v 1.28 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2015 Renato Westphal <renato@openbsd.org>
@@ -156,7 +156,6 @@ adj_get_af(struct adj *adj)
/* adjacency timers */
-/* ARGSUSED */
static void
adj_itimer(int fd, short event, void *arg)
{
@@ -296,7 +295,6 @@ tnbr_update_all(int af)
/* target neighbors timers */
-/* ARGSUSED */
static void
tnbr_hello_timer(int fd, short event, void *arg)
{
diff --git a/usr.sbin/ldpd/control.c b/usr.sbin/ldpd/control.c
index 04da144c97e..6b1518b33df 100644
--- a/usr.sbin/ldpd/control.c
+++ b/usr.sbin/ldpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.31 2021/01/19 15:14:35 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.32 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -104,7 +104,6 @@ control_cleanup(void)
close(control_fd);
}
-/* ARGSUSED */
static void
control_accept(int listenfd, short event, void *bula)
{
@@ -189,7 +188,6 @@ control_close(int fd)
free(c);
}
-/* ARGSUSED */
static void
control_dispatch_imsg(int fd, short event, void *bula)
{
diff --git a/usr.sbin/ldpd/interface.c b/usr.sbin/ldpd/interface.c
index 01324f9726a..7e4269b5e5c 100644
--- a/usr.sbin/ldpd/interface.c
+++ b/usr.sbin/ldpd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.51 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: interface.c,v 1.52 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -374,7 +374,6 @@ if_update_all(int af)
}
/* timers */
-/* ARGSUSED */
static void
if_hello_timer(int fd, short event, void *arg)
{
diff --git a/usr.sbin/ldpd/kroute.c b/usr.sbin/ldpd/kroute.c
index ec550143be6..27dd7164def 100644
--- a/usr.sbin/ldpd/kroute.c
+++ b/usr.sbin/ldpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.70 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: kroute.c,v 1.71 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015, 2016 Renato Westphal <renato@openbsd.org>
@@ -437,7 +437,6 @@ kr_change_egress_label(int af, int was_implicit)
}
}
-/* ARGSUSED */
static void
kr_dispatch_msg(int fd, short event, void *bula)
{
diff --git a/usr.sbin/ldpd/lde.c b/usr.sbin/ldpd/lde.c
index 58f3143bbb6..4eb4c08f75c 100644
--- a/usr.sbin/ldpd/lde.c
+++ b/usr.sbin/ldpd/lde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde.c,v 1.75 2021/01/19 15:23:25 claudio Exp $ */
+/* $OpenBSD: lde.c,v 1.76 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -65,7 +65,6 @@ struct nbr_tree lde_nbrs = RB_INITIALIZER(&lde_nbrs);
static struct imsgev *iev_ldpe;
static struct imsgev *iev_main;
-/* ARGSUSED */
static void
lde_sig_handler(int sig, short event, void *arg)
{
@@ -185,7 +184,6 @@ lde_imsg_compose_ldpe(int type, uint32_t peerid, pid_t pid, void *data,
-1, data, datalen));
}
-/* ARGSUSED */
static void
lde_dispatch_imsg(int fd, short event, void *bula)
{
@@ -376,7 +374,6 @@ lde_dispatch_imsg(int fd, short event, void *bula)
}
}
-/* ARGSUSED */
static void
lde_dispatch_parent(int fd, short event, void *bula)
{
diff --git a/usr.sbin/ldpd/lde_lib.c b/usr.sbin/ldpd/lde_lib.c
index d92b836f8fe..1b8c842fdc0 100644
--- a/usr.sbin/ldpd/lde_lib.c
+++ b/usr.sbin/ldpd/lde_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde_lib.c,v 1.70 2022/12/28 21:30:17 jmc Exp $ */
+/* $OpenBSD: lde_lib.c,v 1.71 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -885,7 +885,6 @@ lde_wildcard_apply(struct map *wcard, struct fec *fec, struct lde_map *me)
/* garbage collector timer: timer to remove dead entries from the LIB */
-/* ARGSUSED */
void
lde_gc_timer(int fd, short event, void *arg)
{
diff --git a/usr.sbin/ldpd/ldpd.c b/usr.sbin/ldpd/ldpd.c
index 2110bea566b..f9e3e66f6b8 100644
--- a/usr.sbin/ldpd/ldpd.c
+++ b/usr.sbin/ldpd/ldpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpd.c,v 1.68 2021/09/06 13:32:18 deraadt Exp $ */
+/* $OpenBSD: ldpd.c,v 1.69 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -73,7 +73,6 @@ static struct imsgev *iev_lde;
static pid_t ldpe_pid;
static pid_t lde_pid;
-/* ARGSUSED */
static void
main_sig_handler(int sig, short event, void *arg)
{
@@ -369,7 +368,6 @@ start_child(enum ldpd_process p, char *argv0, int fd, int debug, int verbose,
}
/* imsg handling */
-/* ARGSUSED */
static void
main_dispatch_ldpe(int fd, short event, void *bula)
{
@@ -450,7 +448,6 @@ main_dispatch_ldpe(int fd, short event, void *bula)
}
}
-/* ARGSUSED */
static void
main_dispatch_lde(int fd, short event, void *bula)
{
diff --git a/usr.sbin/ldpd/ldpe.c b/usr.sbin/ldpd/ldpe.c
index c142fe747e0..1e7fde78339 100644
--- a/usr.sbin/ldpd/ldpe.c
+++ b/usr.sbin/ldpd/ldpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpe.c,v 1.80 2021/01/19 15:59:25 claudio Exp $ */
+/* $OpenBSD: ldpe.c,v 1.81 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -50,7 +50,6 @@ static struct imsgev *iev_main;
static struct imsgev *iev_lde;
static struct event pfkey_ev;
-/* ARGSUSED */
static void
ldpe_sig_handler(int sig, short event, void *bula)
{
@@ -208,7 +207,6 @@ ldpe_imsg_compose_lde(int type, uint32_t peerid, pid_t pid, void *data,
data, datalen));
}
-/* ARGSUSED */
static void
ldpe_dispatch_main(int fd, short event, void *bula)
{
@@ -485,7 +483,6 @@ ldpe_dispatch_main(int fd, short event, void *bula)
}
}
-/* ARGSUSED */
static void
ldpe_dispatch_lde(int fd, short event, void *bula)
{
@@ -619,7 +616,6 @@ ldpe_dispatch_lde(int fd, short event, void *bula)
}
}
-/* ARGSUSED */
static void
ldpe_dispatch_pfkey(int fd, short event, void *bula)
{