diff options
author | 2015-12-05 10:07:55 +0000 | |
---|---|---|
committer | 2015-12-05 10:07:55 +0000 | |
commit | acbf7ea14cfa1f6803b4cf408ad49ee66ae3b7cb (patch) | |
tree | 575b3b7616eafe7d8eda8b12be6cca895d7b42d1 /sys | |
parent | add rcscript for vmd (diff) | |
download | wireguard-openbsd-acbf7ea14cfa1f6803b4cf408ad49ee66ae3b7cb.tar.xz wireguard-openbsd-acbf7ea14cfa1f6803b4cf408ad49ee66ae3b7cb.zip |
remove old lint annotations
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/bpf.c | 6 | ||||
-rw-r--r-- | sys/net/if.c | 4 | ||||
-rw-r--r-- | sys/net/if_bridge.c | 3 | ||||
-rw-r--r-- | sys/net/if_gif.c | 3 | ||||
-rw-r--r-- | sys/net/if_loop.c | 5 | ||||
-rw-r--r-- | sys/net/if_mpe.c | 3 | ||||
-rw-r--r-- | sys/net/if_mpw.c | 3 | ||||
-rw-r--r-- | sys/net/if_pair.c | 3 | ||||
-rw-r--r-- | sys/net/if_pflog.c | 3 | ||||
-rw-r--r-- | sys/net/if_pfsync.c | 3 | ||||
-rw-r--r-- | sys/net/if_pppoe.c | 3 | ||||
-rw-r--r-- | sys/net/if_vether.c | 3 | ||||
-rw-r--r-- | sys/net/if_vlan.c | 3 | ||||
-rw-r--r-- | sys/net/if_vxlan.c | 3 | ||||
-rw-r--r-- | sys/net/netisr.c | 2 | ||||
-rw-r--r-- | sys/net/ppp_tty.c | 4 | ||||
-rw-r--r-- | sys/net/raw_usrreq.c | 4 | ||||
-rw-r--r-- | sys/net/route.c | 3 |
18 files changed, 18 insertions, 43 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 3bc37dd3bd2..86f5f6db879 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.130 2015/10/07 08:41:01 mpi Exp $ */ +/* $OpenBSD: bpf.c,v 1.131 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -318,7 +318,6 @@ bpf_detachd(struct bpf_d *d) d->bd_bif = NULL; } -/* ARGSUSED */ void bpfilterattach(int n) { @@ -329,7 +328,6 @@ bpfilterattach(int n) * Open ethernet device. Returns ENXIO for illegal minor device number, * EBUSY if file is open by another process. */ -/* ARGSUSED */ int bpfopen(dev_t dev, int flag, int mode, struct proc *p) { @@ -352,7 +350,6 @@ bpfopen(dev_t dev, int flag, int mode, struct proc *p) * Close the descriptor by detaching it from its interface, * deallocating its buffers, and marking it free. */ -/* ARGSUSED */ int bpfclose(dev_t dev, int flag, int mode, struct proc *p) { @@ -607,7 +604,6 @@ bpf_reset_d(struct bpf_d *d) * BIOCGHDRCMPLT Get "header already complete" flag * BIOCSHDRCMPLT Set "header already complete" flag */ -/* ARGSUSED */ int bpfioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) { diff --git a/sys/net/if.c b/sys/net/if.c index 8921b864b89..bc2d21f6bb9 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.421 2015/12/04 11:50:01 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.422 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1232,7 +1232,6 @@ ifa_ifwithaddr(struct sockaddr *addr, u_int rtableid) /* * Locate the point to point interface with a given destination address. */ -/*ARGSUSED*/ struct ifaddr * ifa_ifwithdstaddr(struct sockaddr *addr, u_int rdomain) { @@ -2025,7 +2024,6 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) * in later ioctl's (above) to get * other information. */ -/*ARGSUSED*/ int ifconf(u_long cmd, caddr_t data) { diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index a9eedfe139e..87b7c5042a0 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.274 2015/12/04 10:32:42 mpi Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.275 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -150,7 +150,6 @@ struct niqueue bridgeintrq = NIQUEUE_INITIALIZER(1024, NETISR_BRIDGE); struct if_clone bridge_cloner = IF_CLONE_INITIALIZER("bridge", bridge_clone_create, bridge_clone_destroy); -/* ARGSUSED */ void bridgeattach(int n) { diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 55e25f7ce59..a695b5d8f5d 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.82 2015/11/20 05:29:53 dlg Exp $ */ +/* $OpenBSD: if_gif.c,v 1.83 2015/12/05 10:07:55 tedu Exp $ */ /* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */ /* @@ -95,7 +95,6 @@ struct gif_softc_head gif_softc_list; struct if_clone gif_cloner = IF_CLONE_INITIALIZER("gif", gif_clone_create, gif_clone_destroy); -/* ARGSUSED */ void gifattach(int count) { diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index a78e5504176..7457b5b325b 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_loop.c,v 1.74 2015/11/27 15:00:12 mpi Exp $ */ +/* $OpenBSD: if_loop.c,v 1.75 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */ /* @@ -151,7 +151,6 @@ int loop_clone_destroy(struct ifnet *); struct if_clone loop_cloner = IF_CLONE_INITIALIZER("lo", loop_clone_create, loop_clone_destroy); -/* ARGSUSED */ void loopattach(int n) { @@ -222,7 +221,6 @@ looutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, return (if_input_local(ifp, m, dst->sa_family)); } -/* ARGSUSED */ void lortrequest(struct ifnet *ifp, int cmd, struct rtentry *rt) { @@ -233,7 +231,6 @@ lortrequest(struct ifnet *ifp, int cmd, struct rtentry *rt) /* * Process an ioctl request. */ -/* ARGSUSED */ int loioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_mpe.c b/sys/net/if_mpe.c index 4078d3d266f..ac06d06fd8b 100644 --- a/sys/net/if_mpe.c +++ b/sys/net/if_mpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mpe.c,v 1.51 2015/12/02 13:29:25 claudio Exp $ */ +/* $OpenBSD: if_mpe.c,v 1.52 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -272,7 +272,6 @@ out: return (error); } -/* ARGSUSED */ int mpeioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_mpw.c b/sys/net/if_mpw.c index ff174e7ea2a..407b545ff92 100644 --- a/sys/net/if_mpw.c +++ b/sys/net/if_mpw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mpw.c,v 1.11 2015/12/02 13:29:25 claudio Exp $ */ +/* $OpenBSD: if_mpw.c,v 1.12 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2015 Rafael Zalamena <rzalamena@openbsd.org> @@ -71,7 +71,6 @@ struct mbuf *mpw_vlan_handle(struct mbuf *, struct mpw_softc *); struct if_clone mpw_cloner = IF_CLONE_INITIALIZER("mpw", mpw_clone_create, mpw_clone_destroy); -/* ARGSUSED */ void mpwattach(int n) { diff --git a/sys/net/if_pair.c b/sys/net/if_pair.c index a614cd7cb69..abc337d3849 100644 --- a/sys/net/if_pair.c +++ b/sys/net/if_pair.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pair.c,v 1.5 2015/10/30 12:54:36 reyk Exp $ */ +/* $OpenBSD: if_pair.c,v 1.6 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -196,7 +196,6 @@ pairstart(struct ifnet *ifp) } } -/* ARGSUSED */ int pairioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c index 27faf0b217a..8e765734675 100644 --- a/sys/net/if_pflog.c +++ b/sys/net/if_pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.c,v 1.72 2015/11/10 06:36:14 dlg Exp $ */ +/* $OpenBSD: if_pflog.c,v 1.73 2015/12/05 10:07:55 tedu Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -209,7 +209,6 @@ pflogoutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, return (0); } -/* ARGSUSED */ int pflogioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index 5e70099b07b..a9679474d28 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.223 2015/12/03 09:49:15 bluhm Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.224 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -1226,7 +1226,6 @@ pfsyncoutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, return (0); } -/* ARGSUSED */ int pfsyncioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c index a811e081356..15b2b8a9d39 100644 --- a/sys/net/if_pppoe.c +++ b/sys/net/if_pppoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppoe.c,v 1.51 2015/11/28 19:10:26 reyk Exp $ */ +/* $OpenBSD: if_pppoe.c,v 1.52 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */ /* @@ -195,7 +195,6 @@ struct if_clone pppoe_cloner = IF_CLONE_INITIALIZER("pppoe", pppoe_clone_create, pppoe_clone_destroy); -/* ARGSUSED */ void pppoeattach(int count) { diff --git a/sys/net/if_vether.c b/sys/net/if_vether.c index 27873d97f95..004b0abade0 100644 --- a/sys/net/if_vether.c +++ b/sys/net/if_vether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vether.c,v 1.25 2015/10/25 12:05:40 mpi Exp $ */ +/* $OpenBSD: if_vether.c,v 1.26 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2009 Theo de Raadt @@ -138,7 +138,6 @@ vetherstart(struct ifnet *ifp) } } -/* ARGSUSED */ int vetherioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 06ab2da3bfc..f86ca4e506f 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vlan.c,v 1.148 2015/12/03 16:27:32 mpi Exp $ */ +/* $OpenBSD: if_vlan.c,v 1.149 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright 1998 Massachusetts Institute of Technology @@ -106,7 +106,6 @@ void vlan_unref(void *, void *); struct srpl_rc vlan_tagh_rc = SRPL_RC_INITIALIZER(vlan_ref, vlan_unref, NULL); -/* ARGSUSED */ void vlanattach(int count) { diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c index e7a1a228b49..75b21602a1b 100644 --- a/sys/net/if_vxlan.c +++ b/sys/net/if_vxlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vxlan.c,v 1.34 2015/11/27 16:17:52 mpi Exp $ */ +/* $OpenBSD: if_vxlan.c,v 1.35 2015/12/05 10:07:55 tedu Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -342,7 +342,6 @@ vxlan_config(struct ifnet *ifp, struct sockaddr *src, struct sockaddr *dst) return (0); } -/* ARGSUSED */ int vxlanioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { diff --git a/sys/net/netisr.c b/sys/net/netisr.c index 97f2e4cd340..ecf234174d4 100644 --- a/sys/net/netisr.c +++ b/sys/net/netisr.c @@ -32,7 +32,7 @@ int netisr; void *netisr_intr; void -netintr(void *unused) /* ARGSUSED */ +netintr(void *unused) { int n, t = 0; diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index feded849030..27f249f41e9 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppp_tty.c,v 1.39 2015/11/24 13:37:16 mpi Exp $ */ +/* $OpenBSD: ppp_tty.c,v 1.40 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */ /* @@ -170,7 +170,6 @@ struct pool ppp_pkts; * Attach the given tty to the first available ppp unit. * Called from device open routine or ttioctl. */ -/* ARGSUSED */ int pppopen(dev_t dev, struct tty *tp) { @@ -388,7 +387,6 @@ pppwrite(struct tty *tp, struct uio *uio, int flag) * This discipline requires that tty device drivers call * the line specific l_ioctl routine from their ioctl routines. */ -/* ARGSUSED */ int ppptioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct proc *p) { diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c index 728a30b55bd..3171b31b59c 100644 --- a/sys/net/raw_usrreq.c +++ b/sys/net/raw_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_usrreq.c,v 1.21 2015/07/15 22:16:42 deraadt Exp $ */ +/* $OpenBSD: raw_usrreq.c,v 1.22 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: raw_usrreq.c,v 1.11 1996/02/13 22:00:43 christos Exp $ */ /* @@ -131,7 +131,6 @@ raw_input(struct mbuf *m0, ...) m_freem(m); } -/*ARGSUSED*/ void * raw_ctlinput(int cmd, struct sockaddr *arg, u_int rdomain, void *d) { @@ -142,7 +141,6 @@ raw_ctlinput(int cmd, struct sockaddr *arg, u_int rdomain, void *d) /* INCOMPLETE */ } -/*ARGSUSED*/ int raw_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, struct mbuf *control, struct proc *p) diff --git a/sys/net/route.c b/sys/net/route.c index a2a9c2a5a87..8a922d2873b 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.288 2015/12/04 13:42:48 mpi Exp $ */ +/* $OpenBSD: route.c,v 1.289 2015/12/05 10:07:55 tedu Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -1538,7 +1538,6 @@ rt_timer_add(struct rtentry *rt, void (*func)(struct rtentry *, return (0); } -/* ARGSUSED */ void rt_timer_timer(void *arg) { |