diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2023-03-08 04:43:16 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2023-03-08 04:43:16 +0000 |
commit | b7ec05677ee9f62c29e195e7be5125d39f7fdad9 (patch) | |
tree | d2d92930c9557994e5a771aef772966110966cc3 /sys | |
parent | 3f4b7c5f0adcfdffa19cefea0c39206811487db6 (diff) |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
Diffstat (limited to 'sys')
58 files changed, 58 insertions, 200 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c index 5a35dc4484f..c4258910480 100644 --- a/sys/arch/alpha/alpha/machdep.c +++ b/sys/arch/alpha/alpha/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.201 2023/02/06 11:16:22 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.202 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */ /*- @@ -1446,7 +1446,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip, * psl to gain improper privileges or to cause * a machine fault. */ -/* ARGSUSED */ int sys_sigreturn(struct proc *p, void *v, register_t *retval) { diff --git a/sys/arch/alpha/alpha/trap.c b/sys/arch/alpha/alpha/trap.c index 635f2a7d6d3..abe69405852 100644 --- a/sys/arch/alpha/alpha/trap.c +++ b/sys/arch/alpha/alpha/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.107 2023/02/11 23:07:26 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.108 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: trap.c,v 1.52 2000/05/24 16:48:33 thorpej Exp $ */ /*- @@ -201,7 +201,6 @@ printtrap(const unsigned long a0, const unsigned long a1, * to make the code a bit cleaner and more representative of the * Alpha architecture. */ -/*ARGSUSED*/ void trap(a0, a1, a2, entry, framep) const unsigned long a0, a1, a2, entry; diff --git a/sys/arch/alpha/tc/tc_bus_mem.c b/sys/arch/alpha/tc/tc_bus_mem.c index 15d39d58fde..857a7266668 100644 --- a/sys/arch/alpha/tc/tc_bus_mem.c +++ b/sys/arch/alpha/tc/tc_bus_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc_bus_mem.c,v 1.17 2010/04/04 12:49:27 miod Exp $ */ +/* $OpenBSD: tc_bus_mem.c,v 1.18 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: tc_bus_mem.c,v 1.25 2001/09/04 05:31:28 thorpej Exp $ */ /* @@ -235,7 +235,6 @@ tc_bus_mem_init(memv) return (h); } -/* ARGSUSED */ int tc_mem_map(v, memaddr, memsize, flags, memhp) void *v; @@ -260,7 +259,6 @@ tc_mem_map(v, memaddr, memsize, flags, memhp) return (0); } -/* ARGSUSED */ void tc_mem_unmap(v, memh, memsize) void *v; diff --git a/sys/arch/hppa/spmath/dfsqrt.c b/sys/arch/hppa/spmath/dfsqrt.c index 1d6ed622c53..d48f1f68157 100644 --- a/sys/arch/hppa/spmath/dfsqrt.c +++ b/sys/arch/hppa/spmath/dfsqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dfsqrt.c,v 1.7 2003/04/10 17:27:58 mickey Exp $ */ +/* $OpenBSD: dfsqrt.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -21,7 +21,6 @@ * Double Floating-point Square Root */ -/*ARGSUSED*/ int dbl_fsqrt(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null, *dstptr; diff --git a/sys/arch/hppa/spmath/fcnvff.c b/sys/arch/hppa/spmath/fcnvff.c index cb0e6d2f1f8..c6473f43f7c 100644 --- a/sys/arch/hppa/spmath/fcnvff.c +++ b/sys/arch/hppa/spmath/fcnvff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fcnvff.c,v 1.7 2003/04/10 17:27:58 mickey Exp $ */ +/* $OpenBSD: fcnvff.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -22,7 +22,6 @@ /* * Single Floating-point to Double Floating-point */ -/*ARGSUSED*/ int sgl_to_dbl_fcnvff(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null; @@ -108,7 +107,6 @@ sgl_to_dbl_fcnvff(srcptr, null, dstptr, status) /* * Double Floating-point to Single Floating-point */ -/*ARGSUSED*/ int dbl_to_sgl_fcnvff(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null; diff --git a/sys/arch/hppa/spmath/fcnvfx.c b/sys/arch/hppa/spmath/fcnvfx.c index d29f4419e50..6086e38ceea 100644 --- a/sys/arch/hppa/spmath/fcnvfx.c +++ b/sys/arch/hppa/spmath/fcnvfx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fcnvfx.c,v 1.8 2010/07/30 18:05:23 kettenis Exp $ */ +/* $OpenBSD: fcnvfx.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -22,7 +22,6 @@ /* * Single Floating-point to Single Fixed-point */ -/*ARGSUSED*/ int sgl_to_sgl_fcnvfx(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null; @@ -120,7 +119,6 @@ sgl_to_sgl_fcnvfx(srcptr, null, dstptr, status) /* * Single Floating-point to Double Fixed-point */ -/*ARGSUSED*/ int sgl_to_dbl_fcnvfx(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null; @@ -243,7 +241,6 @@ sgl_to_dbl_fcnvfx(srcptr, null, dstptr, status) /* * Double Floating-point to Single Fixed-point */ -/*ARGSUSED*/ int dbl_to_sgl_fcnvfx(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null; @@ -364,7 +361,6 @@ dbl_to_sgl_fcnvfx(srcptr, null, dstptr, status) /* * Double Floating-point to Double Fixed-point */ -/*ARGSUSED*/ int dbl_to_dbl_fcnvfx(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null; diff --git a/sys/arch/hppa/spmath/fcnvfxt.c b/sys/arch/hppa/spmath/fcnvfxt.c index a29d15e5f9a..dd78178315d 100644 --- a/sys/arch/hppa/spmath/fcnvfxt.c +++ b/sys/arch/hppa/spmath/fcnvfxt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fcnvfxt.c,v 1.8 2010/07/30 18:05:23 kettenis Exp $ */ +/* $OpenBSD: fcnvfxt.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -23,7 +23,6 @@ * Convert single floating-point to single fixed-point format * with truncated result */ -/*ARGSUSED*/ int sgl_to_sgl_fcnvfxt(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null; @@ -86,7 +85,6 @@ sgl_to_sgl_fcnvfxt(srcptr, null, dstptr, status) /* * Single Floating-point to Double Fixed-point */ -/*ARGSUSED*/ int sgl_to_dbl_fcnvfxt(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null; @@ -160,7 +158,6 @@ sgl_to_dbl_fcnvfxt(srcptr, null, dstptr, status) /* * Double Floating-point to Single Fixed-point */ -/*ARGSUSED*/ int dbl_to_sgl_fcnvfxt(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null; @@ -224,7 +221,6 @@ dbl_to_sgl_fcnvfxt(srcptr, null, dstptr, status) /* * Double Floating-point to Double Fixed-point */ -/*ARGSUSED*/ int dbl_to_dbl_fcnvfxt(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null; diff --git a/sys/arch/hppa/spmath/frnd.c b/sys/arch/hppa/spmath/frnd.c index 99d17fa8119..c27575e97ee 100644 --- a/sys/arch/hppa/spmath/frnd.c +++ b/sys/arch/hppa/spmath/frnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frnd.c,v 1.8 2003/04/10 17:27:58 mickey Exp $ */ +/* $OpenBSD: frnd.c,v 1.9 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -24,7 +24,6 @@ * Single Floating-point Round to Integer */ -/*ARGSUSED*/ int sgl_frnd(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null, *dstptr; @@ -127,7 +126,6 @@ sgl_frnd(srcptr, null, dstptr, status) * Double Floating-point Round to Integer */ -/*ARGSUSED*/ int dbl_frnd(srcptr, null, dstptr, status) dbl_floating_point *srcptr, *null, *dstptr; @@ -229,7 +227,6 @@ dbl_frnd(srcptr, null, dstptr, status) return(NOEXCEPTION); } -/*ARGSUSED*/ int quad_frnd(srcptr, null, dstptr, status) quad_floating_point *srcptr, *null, *dstptr; diff --git a/sys/arch/hppa/spmath/sfsqrt.c b/sys/arch/hppa/spmath/sfsqrt.c index 12193a30589..dafc0f53fe1 100644 --- a/sys/arch/hppa/spmath/sfsqrt.c +++ b/sys/arch/hppa/spmath/sfsqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfsqrt.c,v 1.7 2003/04/10 17:27:59 mickey Exp $ */ +/* $OpenBSD: sfsqrt.c,v 1.8 2023/03/08 04:43:07 guenther Exp $ */ /* (c) Copyright 1986 HEWLETT-PACKARD COMPANY To anyone who acknowledges that this file is provided "AS IS" @@ -21,7 +21,6 @@ * Single Floating-point Square Root */ -/*ARGSUSED*/ int sgl_fsqrt(srcptr, null, dstptr, status) sgl_floating_point *srcptr, *null, *dstptr; diff --git a/sys/arch/hppa/stand/libsa/ct.c b/sys/arch/hppa/stand/libsa/ct.c index 30881e78941..443291161f9 100644 --- a/sys/arch/hppa/stand/libsa/ct.c +++ b/sys/arch/hppa/stand/libsa/ct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ct.c,v 1.9 2004/04/07 18:24:20 mickey Exp $ */ +/* $OpenBSD: ct.c,v 1.10 2023/03/08 04:43:07 guenther Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -69,7 +69,6 @@ ctopen(struct open_file *f, ...) return (0); } -/*ARGSUSED*/ int ctclose(f) struct open_file *f; diff --git a/sys/arch/i386/i386/mem.c b/sys/arch/i386/i386/mem.c index 174020c26ea..db316bd676a 100644 --- a/sys/arch/i386/i386/mem.c +++ b/sys/arch/i386/i386/mem.c @@ -1,5 +1,5 @@ /* $NetBSD: mem.c,v 1.31 1996/05/03 19:42:19 christos Exp $ */ -/* $OpenBSD: mem.c,v 1.55 2023/01/30 10:49:05 jsg Exp $ */ +/* $OpenBSD: mem.c,v 1.56 2023/03/08 04:43:07 guenther Exp $ */ /* * Copyright (c) 1988 University of Utah. * Copyright (c) 1982, 1986, 1990, 1993 @@ -70,7 +70,6 @@ struct mem_range_softc mem_range_softc; static int mem_ioctl(dev_t, u_long, caddr_t, int, struct proc *); #endif -/*ARGSUSED*/ int mmopen(dev_t dev, int flag, int mode, struct proc *p) { @@ -103,7 +102,6 @@ mmopen(dev_t dev, int flag, int mode, struct proc *p) return (0); } -/*ARGSUSED*/ int mmclose(dev_t dev, int flag, int mode, struct proc *p) { diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c index c936dc35070..9db41060c2f 100644 --- a/sys/arch/i386/i386/trap.c +++ b/sys/arch/i386/i386/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.160 2023/02/11 23:07:27 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.161 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */ /*- @@ -512,7 +512,6 @@ ast(struct trapframe *frame) * syscall(frame): * System call request from POSIX system call gate interface to kernel. */ -/*ARGSUSED*/ void syscall(struct trapframe *frame) { diff --git a/sys/arch/luna88k/dev/lunaws.c b/sys/arch/luna88k/dev/lunaws.c index 06711caf24b..d85460478a5 100644 --- a/sys/arch/luna88k/dev/lunaws.c +++ b/sys/arch/luna88k/dev/lunaws.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lunaws.c,v 1.15 2017/11/03 06:54:06 aoyama Exp $ */ +/* $OpenBSD: lunaws.c,v 1.16 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: lunaws.c,v 1.6 2002/03/17 19:40:42 atatat Exp $ */ /*- @@ -229,7 +229,6 @@ ws_submatch_mouse(struct device *parent, void *match, void *aux) #endif -/*ARGSUSED*/ void wsintr(void *arg) { diff --git a/sys/arch/macppc/macppc/mainbus.c b/sys/arch/macppc/macppc/mainbus.c index c9a2930ece3..bdd4cf281f1 100644 --- a/sys/arch/macppc/macppc/mainbus.c +++ b/sys/arch/macppc/macppc/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.27 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: mainbus.c,v 1.28 2023/03/08 04:43:07 guenther Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -49,7 +49,6 @@ struct cfdriver mainbus_cd = { #define HH_REG_CONF 0x90 -/*ARGSUSED*/ static int mbmatch(struct device *parent, void *cfdata, void *aux) { diff --git a/sys/arch/macppc/pci/pchb.c b/sys/arch/macppc/pci/pchb.c index b93f93c49b4..b0cf7d81497 100644 --- a/sys/arch/macppc/pci/pchb.c +++ b/sys/arch/macppc/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.16 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: pchb.c,v 1.17 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: pchb.c,v 1.4 2000/01/25 07:19:11 tsubai Exp $ */ /*- @@ -103,7 +103,6 @@ pchbmatch(struct device *parent, void *cf, void *aux) return (0); } -/*ARGSUSED*/ void pchbattach(struct device *parent, struct device *self, void *aux) { diff --git a/sys/arch/mips64/mips64/sendsig.c b/sys/arch/mips64/mips64/sendsig.c index 0f07636594f..7855315731d 100644 --- a/sys/arch/mips64/mips64/sendsig.c +++ b/sys/arch/mips64/mips64/sendsig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sendsig.c,v 1.35 2021/10/06 15:46:03 claudio Exp $ */ +/* $OpenBSD: sendsig.c,v 1.36 2023/03/08 04:43:07 guenther Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -173,7 +173,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip, * psl to gain improper privileges or to cause * a machine fault. */ -/* ARGSUSED */ int sys_sigreturn(struct proc *p, void *v, register_t *retval) { diff --git a/sys/arch/sh/include/pmap.h b/sys/arch/sh/include/pmap.h index aaa3f519447..0b31ed83163 100644 --- a/sys/arch/sh/include/pmap.h +++ b/sys/arch/sh/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.18 2023/01/31 15:18:55 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.19 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: pmap.h,v 1.28 2006/04/10 23:12:11 uwe Exp $ */ /*- @@ -69,7 +69,6 @@ void pmap_bootstrap(void); #define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count) #define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count) -/* ARGSUSED */ static __inline void pmap_remove_all(struct pmap *pmap) { diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index 079b7ce2152..c6415f98577 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.141 2022/09/02 20:06:56 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.142 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */ /* @@ -852,7 +852,6 @@ clockfreq(long freq) return (buf); } -/* ARGSUSED */ static int mbprint(void *aux, const char *name) { diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 73c633d799e..4b4466fa57b 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.206 2023/01/21 19:39:28 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.207 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -489,7 +489,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip, * modified the state to gain improper privileges or to cause * a machine fault. */ -/* ARGSUSED */ int sys_sigreturn(struct proc *p, void *v, register_t *retval) { diff --git a/sys/ddb/db_break.c b/sys/ddb/db_break.c index dfe2f3af912..bf5253d1dd8 100644 --- a/sys/ddb/db_break.c +++ b/sys/ddb/db_break.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_break.c,v 1.22 2020/10/15 03:13:59 deraadt Exp $ */ +/* $OpenBSD: db_break.c,v 1.23 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_break.c,v 1.7 1996/03/30 22:30:03 christos Exp $ */ /* @@ -238,7 +238,6 @@ db_list_breakpoints(void) } /* Delete breakpoint */ -/*ARGSUSED*/ void db_delete_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -246,7 +245,6 @@ db_delete_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } /* Set breakpoint with skip count */ -/*ARGSUSED*/ void db_breakpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -257,7 +255,6 @@ db_breakpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } /* list breakpoints */ -/*ARGSUSED*/ void db_listbreak_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index a8f60c9249b..7b54a2bd5bc 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.97 2022/11/05 19:29:45 cheloha Exp $ */ +/* $OpenBSD: db_command.c,v 1.98 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -310,7 +310,6 @@ db_command(const struct db_command **last_cmdp, } } -/*ARGSUSED*/ void db_buf_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -322,7 +321,6 @@ db_buf_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) vfs_buf_print((void *) addr, full, db_printf); } -/*ARGSUSED*/ void db_map_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -334,28 +332,24 @@ db_map_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) uvm_map_printit((struct vm_map *) addr, full, db_printf); } -/*ARGSUSED*/ void db_malloc_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { malloc_printit(db_printf); } -/*ARGSUSED*/ void db_mbuf_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { m_print((void *)addr, db_printf); } -/*ARGSUSED*/ void db_socket_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { so_print((void *)addr, db_printf); } -/*ARGSUSED*/ void db_mount_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -444,7 +438,6 @@ db_show_route(db_expr_t addr, int have_addr, db_expr_t count, char *modif) db_show_rtentry((void *)addr, NULL, -1); } -/*ARGSUSED*/ void db_object_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -456,7 +449,6 @@ db_object_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) uvm_object_printit((struct uvm_object *) addr, full, db_printf); } -/*ARGSUSED*/ void db_page_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -468,7 +460,6 @@ db_page_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) uvm_page_printit((struct vm_page *) addr, full, db_printf); } -/*ARGSUSED*/ void db_vnode_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -481,7 +472,6 @@ db_vnode_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } #ifdef NFSCLIENT -/*ARGSUSED*/ void db_nfsreq_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) @@ -494,7 +484,6 @@ db_nfsreq_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, nfs_request_print((void *)addr, full, db_printf); } -/*ARGSUSED*/ void db_nfsnode_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) @@ -508,7 +497,6 @@ db_nfsnode_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, } #endif -/*ARGSUSED*/ void db_swap_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) @@ -516,7 +504,6 @@ db_swap_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, swap_print_all(db_printf); } -/*ARGSUSED*/ void db_show_panic_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -537,21 +524,18 @@ db_show_panic_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) db_printf("the kernel did not panic\n"); /* yet */ } -/*ARGSUSED*/ void db_extent_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { extent_print_all(); } -/*ARGSUSED*/ void db_pool_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { pool_printit((struct pool *)addr, modif, db_printf); } -/*ARGSUSED*/ void db_proc_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -574,7 +558,6 @@ db_tdb_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } #endif -/*ARGSUSED*/ void db_uvmexp_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -583,7 +566,6 @@ db_uvmexp_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) void bcstats_print(int (*)(const char *, ...)); -/*ARGSUSED*/ void db_bcstats_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -769,7 +751,6 @@ db_error(char *s) * Call random function: * !expr(arg,arg,arg) */ -/*ARGSUSED*/ void db_fncall(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -926,7 +907,6 @@ db_show_regs(db_expr_t addr, int have_addr, db_expr_t count, char *modif) /* * Write to file. */ -/*ARGSUSED*/ void db_write_cmd(db_expr_t address, int have_addr, db_expr_t count, char *modif) { diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index ff708e0c0f9..bc30da3bf84 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_examine.c,v 1.27 2020/01/09 15:18:58 bluhm Exp $ */ +/* $OpenBSD: db_examine.c,v 1.28 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_examine.c,v 1.11 1996/03/30 22:30:07 christos Exp $ */ /* @@ -56,7 +56,6 @@ void db_search(vaddr_t, int, db_expr_t, db_expr_t, db_expr_t); * should print: * address: 01 23 45 67 */ -/*ARGSUSED*/ void db_examine_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -239,7 +238,6 @@ db_examine(vaddr_t addr, char *fmt, int count) */ char db_print_format = 'x'; -/*ARGSUSED*/ void db_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -325,7 +323,6 @@ db_strlcpy(char *dst, const char *src, size_t siz) * Search for a value in memory. * Syntax: search [/bhl] addr value [mask] [,count] */ -/*ARGSUSED*/ void db_search_cmd(db_expr_t daddr, int have_addr, db_expr_t dcount, char *modif) { diff --git a/sys/ddb/db_run.c b/sys/ddb/db_run.c index 8fd6be122d0..b34a8a06591 100644 --- a/sys/ddb/db_run.c +++ b/sys/ddb/db_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_run.c,v 1.30 2020/10/15 03:14:00 deraadt Exp $ */ +/* $OpenBSD: db_run.c,v 1.31 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_run.c,v 1.8 1996/02/05 01:57:12 christos Exp $ */ /* @@ -224,7 +224,6 @@ db_single_step(db_regs_t *regs) } /* single-step */ -/*ARGSUSED*/ void db_single_step_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -245,7 +244,6 @@ db_single_step_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } /* trace and print until call/return */ -/*ARGSUSED*/ void db_trace_until_call_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) @@ -262,7 +260,6 @@ db_trace_until_call_cmd(db_expr_t addr, int have_addr, db_expr_t count, db_cmd_loop_done = 1; } -/*ARGSUSED*/ void db_trace_until_matching_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) @@ -281,7 +278,6 @@ db_trace_until_matching_cmd(db_expr_t addr, int have_addr, db_expr_t count, } /* continue */ -/*ARGSUSED*/ void db_continue_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { diff --git a/sys/ddb/db_variables.c b/sys/ddb/db_variables.c index 933a9091543..d926f52c27b 100644 --- a/sys/ddb/db_variables.c +++ b/sys/ddb/db_variables.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_variables.c,v 1.21 2020/10/15 03:14:00 deraadt Exp $ */ +/* $OpenBSD: db_variables.c,v 1.22 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_variables.c,v 1.8 1996/02/05 01:57:19 christos Exp $ */ /* @@ -124,7 +124,6 @@ db_write_variable(struct db_variable *vp, db_expr_t *valuep) (*func)(vp, valuep, DB_VAR_SET); } -/*ARGSUSED*/ void db_set_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c index cae2307f7d9..2c7ec1e1473 100644 --- a/sys/ddb/db_watch.c +++ b/sys/ddb/db_watch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_watch.c,v 1.18 2020/10/15 03:14:00 deraadt Exp $ */ +/* $OpenBSD: db_watch.c,v 1.19 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: db_watch.c,v 1.9 1996/03/30 22:30:12 christos Exp $ */ /* @@ -146,7 +146,6 @@ db_list_watchpoints(void) } /* Delete watchpoint */ -/*ARGSUSED*/ void db_deletewatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -154,7 +153,6 @@ db_deletewatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } /* Set watchpoint */ -/*ARGSUSED*/ void db_watchpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { @@ -171,7 +169,6 @@ db_watchpoint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) } /* list watchpoints */ -/*ARGSUSED*/ void db_listwatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) { diff --git a/sys/dev/i2c/i2c_bitbang.c b/sys/dev/i2c/i2c_bitbang.c index b63a3682e71..19a13006873 100644 --- a/sys/dev/i2c/i2c_bitbang.c +++ b/sys/dev/i2c/i2c_bitbang.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_bitbang.c,v 1.4 2013/04/20 14:27:09 kettenis Exp $ */ +/* $OpenBSD: i2c_bitbang.c,v 1.5 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: i2c_bitbang.c,v 1.1 2003/09/30 00:35:31 thorpej Exp $ */ /* @@ -75,7 +75,6 @@ i2c_wait_for_scl(void *v, i2c_bitbang_ops_t ops) return (0); } -/*ARGSUSED*/ int i2c_bitbang_send_start(void *v, int flags, i2c_bitbang_ops_t ops) { @@ -94,7 +93,6 @@ i2c_bitbang_send_start(void *v, int flags, i2c_bitbang_ops_t ops) return (0); } -/*ARGSUSED*/ int i2c_bitbang_send_stop(void *v, int flags, i2c_bitbang_ops_t ops) { diff --git a/sys/dev/pci/cmpci.c b/sys/dev/pci/cmpci.c index 1fa6bc3e259..fcd23270867 100644 --- a/sys/dev/pci/cmpci.c +++ b/sys/dev/pci/cmpci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmpci.c,v 1.52 2022/10/26 20:19:08 kn Exp $ */ +/* $OpenBSD: cmpci.c,v 1.53 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: cmpci.c,v 1.25 2004/10/26 06:32:20 xtraeme Exp $ */ /* @@ -802,7 +802,6 @@ cmpci_set_params(void *handle, int setmode, int usemode, return 0; } -/* ARGSUSED */ int cmpci_round_blocksize(void *handle, int block) { @@ -1745,7 +1744,6 @@ cmpci_get_port(void *handle, mixer_ctrl_t *cp) return 0; } -/* ARGSUSED */ size_t cmpci_round_buffersize(void *handle, int direction, size_t bufsize) { diff --git a/sys/dev/pci/eso.c b/sys/dev/pci/eso.c index f0967505f7b..27dde7265b1 100644 --- a/sys/dev/pci/eso.c +++ b/sys/dev/pci/eso.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eso.c,v 1.53 2022/10/26 20:19:08 kn Exp $ */ +/* $OpenBSD: eso.c,v 1.54 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: eso.c,v 1.48 2006/12/18 23:13:39 kleink Exp $ */ /* @@ -628,7 +628,6 @@ eso_reset(struct eso_softc *sc) } -/* ARGSUSED */ int eso_open(void *hdl, int flags) { diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index c8e367ab645..a9fc9d5cecb 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ipw.c,v 1.132 2022/04/21 21:03:03 stsp Exp $ */ +/* $OpenBSD: if_ipw.c,v 1.133 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2004-2008 @@ -1127,7 +1127,6 @@ ipw_cmd(struct ipw_softc *sc, uint32_t type, void *data, uint32_t len) return error; } -/* ARGSUSED */ int ipw_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type, int arg1, int arg2) diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index b90210715b1..d086ade1efc 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.147 2022/04/21 21:03:03 stsp Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.148 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2004-2008 @@ -1241,7 +1241,6 @@ iwi_cmd(struct iwi_softc *sc, uint8_t type, void *data, uint8_t len, int async) return async ? 0 : tsleep_nsec(sc, PCATCH, "iwicmd", SEC_TO_NSEC(1)); } -/* ARGSUSED */ int iwi_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type, int arg1, int arg2) diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c index 4744ca55d8c..d81fd30f1f7 100644 --- a/sys/dev/pckbc/pckbd.c +++ b/sys/dev/pckbc/pckbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pckbd.c,v 1.47 2022/04/06 18:59:29 naddy Exp $ */ +/* $OpenBSD: pckbd.c,v 1.48 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -1029,7 +1029,6 @@ pckbd_cnattach(pckbc_tag_t kbctag) return (0); } -/* ARGSUSED */ void pckbd_cngetc(void *v, u_int *type, int *data) { diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c index 5139d4288c9..9bce17cc9c8 100644 --- a/sys/dev/rnd.c +++ b/sys/dev/rnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rnd.c,v 1.225 2022/11/03 04:56:47 guenther Exp $ */ +/* $OpenBSD: rnd.c,v 1.226 2023/03/08 04:43:08 guenther Exp $ */ /* * Copyright (c) 2011,2020 Theo de Raadt. @@ -242,7 +242,6 @@ add_entropy_words(const u_int32_t *buf, u_int n) * queue and entries from the consumer end of the queue which are * likely to have collected more damage. */ -/* ARGSUSED */ void dequeue_randomness(void *v) { @@ -616,7 +615,6 @@ arc4random_uniform(u_int32_t upper_bound) return r % upper_bound; } -/* ARGSUSED */ void rnd_init(void *null) { diff --git a/sys/dev/usb/if_mtw.c b/sys/dev/usb/if_mtw.c index becbdfac320..8478423960b 100644 --- a/sys/dev/usb/if_mtw.c +++ b/sys/dev/usb/if_mtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mtw.c,v 1.7 2022/07/28 00:56:02 kevlo Exp $ */ +/* $OpenBSD: if_mtw.c,v 1.8 2023/03/08 04:43:08 guenther Exp $ */ /* * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> * Copyright (c) 2013-2014 Kevin Lo @@ -1657,7 +1657,6 @@ mtw_updateedca(struct ieee80211com *ic) mtw_do_async(ic->ic_softc, mtw_updateedca_cb, NULL, 0); } -/* ARGSUSED */ void mtw_updateedca_cb(struct mtw_softc *sc, void *arg) { @@ -1706,7 +1705,6 @@ mtw_updateslot(struct ieee80211com *ic) mtw_do_async(ic->ic_softc, mtw_updateslot_cb, NULL, 0); } -/* ARGSUSED */ void mtw_updateslot_cb(struct mtw_softc *sc, void *arg) { @@ -1899,7 +1897,6 @@ mtw_calibrate_to(void *arg) /* next timeout will be rescheduled in the calibration task */ } -/* ARGSUSED */ void mtw_calibrate_cb(struct mtw_softc *sc, void *arg) { diff --git a/sys/dev/usb/if_otus.c b/sys/dev/usb/if_otus.c index 4470bb26f8d..7f38503b964 100644 --- a/sys/dev/usb/if_otus.c +++ b/sys/dev/usb/if_otus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_otus.c,v 1.71 2022/04/21 21:03:03 stsp Exp $ */ +/* $OpenBSD: if_otus.c,v 1.72 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> @@ -963,7 +963,6 @@ otus_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni, int isnew) } } -/* ARGSUSED */ void otus_intr(struct usbd_xfer *xfer, void *priv, usbd_status status) { @@ -1570,7 +1569,6 @@ otus_updateedca(struct ieee80211com *ic) otus_do_async(ic->ic_softc, otus_updateedca_cb, NULL, 0); } -/* ARGSUSED */ void otus_updateedca_cb(struct otus_softc *sc, void *arg) { @@ -1634,7 +1632,6 @@ otus_updateslot(struct ieee80211com *ic) otus_do_async(ic->ic_softc, otus_updateslot_cb, NULL, 0); } -/* ARGSUSED */ void otus_updateslot_cb(struct otus_softc *sc, void *arg) { diff --git a/sys/dev/usb/if_rsu.c b/sys/dev/usb/if_rsu.c index b581d8383a3..834fdee0bb7 100644 --- a/sys/dev/usb/if_rsu.c +++ b/sys/dev/usb/if_rsu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rsu.c,v 1.51 2022/04/21 21:03:03 stsp Exp $ */ +/* $OpenBSD: if_rsu.c,v 1.52 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -770,7 +770,6 @@ rsu_calib_to(void *arg) usbd_ref_decr(sc->sc_udev); } -/* ARGSUSED */ void rsu_calib_cb(struct rsu_softc *sc, void *arg) { @@ -948,7 +947,6 @@ rsu_set_key_cb(struct rsu_softc *sc, void *arg) } } -/* ARGSUSED */ void rsu_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni, struct ieee80211_key *k) @@ -1624,7 +1622,6 @@ rsu_tx(struct rsu_softc *sc, struct mbuf *m, struct ieee80211_node *ni) return (0); } -/* ARGSUSED */ int rsu_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type, int arg1, int arg2) diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c index 8c45269e659..2d4408dd3ac 100644 --- a/sys/dev/usb/if_run.c +++ b/sys/dev/usb/if_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_run.c,v 1.137 2022/05/10 08:20:36 stsp Exp $ */ +/* $OpenBSD: if_run.c,v 1.138 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -1869,7 +1869,6 @@ run_updateedca(struct ieee80211com *ic) run_do_async(ic->ic_softc, run_updateedca_cb, NULL, 0); } -/* ARGSUSED */ void run_updateedca_cb(struct run_softc *sc, void *arg) { @@ -2076,7 +2075,6 @@ run_calibrate_to(void *arg) /* next timeout will be rescheduled in the calibration task */ } -/* ARGSUSED */ void run_calibrate_cb(struct run_softc *sc, void *arg) { @@ -3762,7 +3760,6 @@ run_updateslot(struct ieee80211com *ic) run_do_async(ic->ic_softc, run_updateslot_cb, NULL, 0); } -/* ARGSUSED */ void run_updateslot_cb(struct run_softc *sc, void *arg) { diff --git a/sys/dev/usb/if_urtwn.c b/sys/dev/usb/if_urtwn.c index 130d5b051ce..1839d076214 100644 --- a/sys/dev/usb/if_urtwn.c +++ b/sys/dev/usb/if_urtwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_urtwn.c,v 1.104 2023/01/16 22:08:50 jmatthew Exp $ */ +/* $OpenBSD: if_urtwn.c,v 1.105 2023/03/08 04:43:08 guenther Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -900,7 +900,6 @@ urtwn_calib_to(void *arg) usbd_ref_decr(sc->sc_udev); } -/* ARGSUSED */ void urtwn_calib_cb(struct urtwn_softc *sc, void *arg) { @@ -1000,7 +999,6 @@ urtwn_updateslot(struct ieee80211com *ic) urtwn_do_async(sc, urtwn_updateslot_cb, NULL, 0); } -/* ARGSUSED */ void urtwn_updateslot_cb(struct urtwn_softc *sc, void *arg) { @@ -1020,7 +1018,6 @@ urtwn_updateedca(struct ieee80211com *ic) urtwn_do_async(sc, urtwn_updateedca_cb, NULL, 0); } -/* ARGSUSED */ void urtwn_updateedca_cb(struct urtwn_softc *sc, void *arg) { diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c index 4d865d3b187..947561ee622 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnd.c,v 1.179 2022/10/23 14:39:19 krw Exp $ */ +/* $OpenBSD: vnd.c,v 1.180 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */ /* @@ -359,14 +359,12 @@ vndstrategy(struct buf *bp) splx(s); } -/* ARGSUSED */ int vndread(dev_t dev, struct uio *uio, int flags) { return (physio(vndstrategy, dev, B_READ, minphys, uio)); } -/* ARGSUSED */ int vndwrite(dev_t dev, struct uio *uio, int flags) { @@ -391,7 +389,6 @@ vndbdevsize(struct vnode *vp, struct proc *p) return (DL_GETPSIZE(pi.part)); } -/* ARGSUSED */ int vndioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) { diff --git a/sys/isofs/cd9660/cd9660_rrip.c b/sys/isofs/cd9660/cd9660_rrip.c index 583dac1d18f..3143b87f672 100644 --- a/sys/isofs/cd9660/cd9660_rrip.c +++ b/sys/isofs/cd9660/cd9660_rrip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_rrip.c,v 1.16 2021/03/05 07:10:06 jsg Exp $ */ +/* $OpenBSD: cd9660_rrip.c,v 1.17 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: cd9660_rrip.c,v 1.17 1997/01/24 00:27:32 cgd Exp $ */ /*- @@ -314,7 +314,6 @@ cd9660_rrip_pclink(void *v, ISO_RRIP_ANALYZE *ana) /* * Relocated directory */ -/*ARGSUSED*/ static int cd9660_rrip_reldir(void *v, ISO_RRIP_ANALYZE *ana) { diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index f1b5a81b79f..ef0ffbbb152 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vfsops.c,v 1.96 2022/09/01 13:45:26 krw Exp $ */ +/* $OpenBSD: cd9660_vfsops.c,v 1.97 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */ /*- @@ -522,7 +522,6 @@ out: * Make a filesystem operational. * Nothing to do at the moment. */ -/* ARGSUSED */ int cd9660_start(struct mount *mp, int flags, struct proc *p) { @@ -582,7 +581,6 @@ cd9660_root(struct mount *mp, struct vnode **vpp) /* * Do operations associated with quotas, not supported */ -/* ARGSUSED */ int cd9660_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, struct proc *p) @@ -614,7 +612,6 @@ cd9660_statfs(struct mount *mp, struct statfs *sbp, struct proc *p) return (0); } -/* ARGSUSED */ int cd9660_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, struct proc *p) @@ -639,7 +636,6 @@ struct ifid { long ifid_start; }; -/* ARGSUSED */ int cd9660_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) { @@ -904,7 +900,6 @@ retry: /* * Vnode pointer to File handle */ -/* ARGSUSED */ int cd9660_vptofh(struct vnode *vp, struct fid *fhp) { diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index 2eb47f4ba5b..7f66460e460 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vnops.c,v 1.93 2022/06/26 05:20:42 visa Exp $ */ +/* $OpenBSD: cd9660_vnops.c,v 1.94 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */ /*- @@ -125,7 +125,6 @@ cd9660_setattr(void *v) * * Nothing to do. */ -/* ARGSUSED */ int cd9660_open(void *v) { @@ -137,7 +136,6 @@ cd9660_open(void *v) * * Update the times on the inode on writeable file systems. */ -/* ARGSUSED */ int cd9660_close(void *v) { @@ -282,7 +280,6 @@ cd9660_read(void *v) return (error); } -/* ARGSUSED */ int cd9660_ioctl(void *v) { @@ -294,7 +291,6 @@ cd9660_ioctl(void *v) * * NB Currently unsupported. */ -/* ARGSUSED */ int cd9660_mmap(void *v) { @@ -307,7 +303,6 @@ cd9660_mmap(void *v) * * Nothing to do, so just return. */ -/* ARGSUSED */ int cd9660_seek(void *v) { @@ -740,7 +735,6 @@ cd9660_strategy(void *v) /* * Print out the contents of an inode. */ -/*ARGSUSED*/ int cd9660_print(void *v) { diff --git a/sys/lib/libsa/dev.c b/sys/lib/libsa/dev.c index c5a86655d9b..228c40a9faa 100644 --- a/sys/lib/libsa/dev.c +++ b/sys/lib/libsa/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.4 2003/08/11 06:23:09 deraadt Exp $ */ +/* $OpenBSD: dev.c,v 1.5 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: dev.c,v 1.4 1994/10/30 21:48:23 cgd Exp $ */ /*- @@ -50,7 +50,6 @@ nullsys(void) { } -/* ARGSUSED */ int noioctl(struct open_file *f, u_long cmd, void *data) { diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index d5ca813c1a6..9711f1618be 100644 --- a/sys/miscfs/deadfs/dead_vnops.c +++ b/sys/miscfs/deadfs/dead_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dead_vnops.c,v 1.41 2022/06/26 05:20:42 visa Exp $ */ +/* $OpenBSD: dead_vnops.c,v 1.42 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */ /* @@ -99,7 +99,6 @@ const struct vops dead_vops = { /* * Open always fails as if device did not exist. */ -/* ARGSUSED */ int dead_open(void *v) { @@ -109,7 +108,6 @@ dead_open(void *v) /* * Vnode op for read */ -/* ARGSUSED */ int dead_read(void *v) { @@ -128,7 +126,6 @@ dead_read(void *v) /* * Vnode op for write */ -/* ARGSUSED */ int dead_write(void *v) { @@ -142,7 +139,6 @@ dead_write(void *v) /* * Device ioctl operation. */ -/* ARGSUSED */ int dead_ioctl(void *v) { @@ -234,7 +230,6 @@ dead_bmap(void *v) /* * Print out the contents of a dead vnode. */ -/* ARGSUSED */ int dead_print(void *v) { @@ -245,7 +240,6 @@ dead_print(void *v) /* * Empty vnode failed operation */ -/*ARGSUSED*/ int dead_ebadf(void *v) { diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c index 8586550539f..985b0e4cab4 100644 --- a/sys/miscfs/fifofs/fifo_vnops.c +++ b/sys/miscfs/fifofs/fifo_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fifo_vnops.c,v 1.101 2023/01/27 18:46:34 mvs Exp $ */ +/* $OpenBSD: fifo_vnops.c,v 1.102 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: fifo_vnops.c,v 1.18 1996/03/16 23:52:42 christos Exp $ */ /* @@ -139,7 +139,6 @@ const struct filterops fifoexcept_filtops = { * Open called to set up a new instance of a fifo or * to find an active instance of a fifo. */ -/* ARGSUSED */ int fifo_open(void *v) { @@ -233,7 +232,6 @@ bad: /* * Vnode op for read */ -/* ARGSUSED */ int fifo_read(void *v) { @@ -264,7 +262,6 @@ fifo_read(void *v) /* * Vnode op for write */ -/* ARGSUSED */ int fifo_write(void *v) { @@ -287,7 +284,6 @@ fifo_write(void *v) /* * Device ioctl operation. */ -/* ARGSUSED */ int fifo_ioctl(void *v) { @@ -325,7 +321,6 @@ fifo_inactive(void *v) /* * Device close routine */ -/* ARGSUSED */ int fifo_close(void *v) { @@ -440,7 +435,6 @@ fifo_pathconf(void *v) /* * Fifo failed operation */ -/*ARGSUSED*/ int fifo_ebadf(void *v) { @@ -451,7 +445,6 @@ fifo_ebadf(void *v) /* * Fifo advisory byte-level locks. */ -/* ARGSUSED */ int fifo_advlock(void *v) { diff --git a/sys/msdosfs/msdosfs_denode.c b/sys/msdosfs/msdosfs_denode.c index 4fa1e0a2ffb..7a33212b648 100644 --- a/sys/msdosfs/msdosfs_denode.c +++ b/sys/msdosfs/msdosfs_denode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_denode.c,v 1.67 2022/08/23 20:37:16 cheloha Exp $ */ +/* $OpenBSD: msdosfs_denode.c,v 1.68 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */ /*- @@ -78,7 +78,6 @@ static struct denode *msdosfs_hashget(dev_t, uint32_t, uint32_t); static int msdosfs_hashins(struct denode *); static void msdosfs_hashrem(struct denode *); -/*ARGSUSED*/ int msdosfs_init(struct vfsconf *vfsp) { diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 9fa48641cc4..a11d90c7108 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.257 2023/03/04 09:03:34 kn Exp $ */ +/* $OpenBSD: if_ether.c,v 1.258 2023/03/08 04:43:08 guenther Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -121,7 +121,6 @@ unsigned int revarp_ifidx; /* * Timeout routine. Age arp_tab entries periodically. */ -/* ARGSUSED */ void arptimer(void *arg) { diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 7c325abc38b..519de95e450 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.355 2022/09/08 10:22:06 kn Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.356 2023/03/08 04:43:09 guenther Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -782,7 +782,6 @@ carp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, * Interface side of the CARP implementation. */ -/* ARGSUSED */ void carpattach(int n) { diff --git a/sys/nfs/nfs_kq.c b/sys/nfs/nfs_kq.c index 0d9cfe5b0c1..999fed0a8e9 100644 --- a/sys/nfs/nfs_kq.c +++ b/sys/nfs/nfs_kq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_kq.c,v 1.34 2021/12/11 09:28:26 visa Exp $ */ +/* $OpenBSD: nfs_kq.c,v 1.35 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */ /*- @@ -89,7 +89,6 @@ struct kevqlist kevlist = SLIST_HEAD_INITIALIZER(kevlist); * and exits when the watch list is empty. The overhead of thread creation * isn't really important, neither speed of attach and detach of knote. */ -/* ARGSUSED */ void nfs_kqpoll(void *arg) { diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 424fcc22f24..421c4025696 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.121 2022/05/27 11:10:54 mpi Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.122 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -2780,7 +2780,6 @@ nfsmout: /* * Null operation, used by clients to ping server */ -/* ARGSUSED */ int nfsrv_null(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct proc *procp, struct mbuf **mrq) @@ -2801,7 +2800,6 @@ nfsrv_null(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, /* * No operation, used for obsolete procedures */ -/* ARGSUSED */ int nfsrv_noop(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct proc *procp, struct mbuf **mrq) diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 5b06158752d..384a367663b 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.127 2022/08/12 14:30:53 visa Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.128 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -550,7 +550,6 @@ nfs_decode_args(struct nfsmount *nmp, struct nfs_args *argp, * doing the sockargs() call because sockargs() allocates an mbuf and * an error after that means that I have to release the mbuf. */ -/* ARGSUSED */ int nfs_mount(struct mount *mp, const char *path, void *data, struct nameidata *ndp, struct proc *p) @@ -835,7 +834,6 @@ loop: * NFS flat namespace lookup. * Currently unsupported. */ -/* ARGSUSED */ int nfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp) { @@ -899,7 +897,6 @@ nfs_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, /* * At this point, this should never happen */ -/* ARGSUSED */ int nfs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) { @@ -909,7 +906,6 @@ nfs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) /* * Vnode pointer to File handle, should never happen either */ -/* ARGSUSED */ int nfs_vptofh(struct vnode *vp, struct fid *fhp) { @@ -919,7 +915,6 @@ nfs_vptofh(struct vnode *vp, struct fid *fhp) /* * Vfs start routine, a no-op. */ -/* ARGSUSED */ int nfs_start(struct mount *mp, int flags, struct proc *p) { @@ -929,7 +924,6 @@ nfs_start(struct mount *mp, int flags, struct proc *p) /* * Do operations associated with quotas, not supported */ -/* ARGSUSED */ int nfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, struct proc *p) { diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 8e10c520ef8..bfd31b6ad4d 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.190 2022/08/12 14:30:53 visa Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.191 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -3013,7 +3013,6 @@ loop: * Fake it. For v3 we could ask the server, but such code * hasn't been written yet. */ -/* ARGSUSED */ int nfs_pathconf(void *v) { diff --git a/sys/sys/tree.h b/sys/sys/tree.h index f25fb32e249..5ef87776838 100644 --- a/sys/sys/tree.h +++ b/sys/sys/tree.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.h,v 1.30 2020/10/10 18:03:41 otto Exp $ */ +/* $OpenBSD: tree.h,v 1.31 2023/03/08 04:43:09 guenther Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -656,7 +656,6 @@ name##_RB_NFIND(struct name *head, struct type *elm) \ return (res); \ } \ \ -/* ARGSUSED */ \ attr struct type * \ name##_RB_NEXT(struct type *elm) \ { \ @@ -678,7 +677,6 @@ name##_RB_NEXT(struct type *elm) \ return (elm); \ } \ \ -/* ARGSUSED */ \ attr struct type * \ name##_RB_PREV(struct type *elm) \ { \ diff --git a/sys/ufs/ext2fs/ext2fs_readwrite.c b/sys/ufs/ext2fs/ext2fs_readwrite.c index 491889b911d..f4c6267114c 100644 --- a/sys/ufs/ext2fs/ext2fs_readwrite.c +++ b/sys/ufs/ext2fs/ext2fs_readwrite.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_readwrite.c,v 1.45 2019/11/27 16:12:13 beck Exp $ */ +/* $OpenBSD: ext2fs_readwrite.c,v 1.46 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: ext2fs_readwrite.c,v 1.16 2001/02/27 04:37:47 chs Exp $ */ /*- @@ -59,7 +59,6 @@ static int ext4_ext_read(struct vnode *, struct inode *, struct m_ext2fs *, stru /* * Vnode op for reading. */ -/* ARGSUSED */ int ext2fs_read(void *v) { diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c index af3f0a9ab33..3baea804c68 100644 --- a/sys/ufs/ext2fs/ext2fs_vfsops.c +++ b/sys/ufs/ext2fs/ext2fs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vfsops.c,v 1.117 2022/08/12 14:30:53 visa Exp $ */ +/* $OpenBSD: ext2fs_vfsops.c,v 1.118 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */ /* @@ -1003,7 +1003,6 @@ ext2fs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp) /* * Vnode pointer to File handle */ -/* ARGSUSED */ int ext2fs_vptofh(struct vnode *vp, struct fid *fhp) { diff --git a/sys/ufs/ext2fs/ext2fs_vnops.c b/sys/ufs/ext2fs/ext2fs_vnops.c index e14853d0681..235590d7c74 100644 --- a/sys/ufs/ext2fs/ext2fs_vnops.c +++ b/sys/ufs/ext2fs/ext2fs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_vnops.c,v 1.90 2022/06/26 05:20:42 visa Exp $ */ +/* $OpenBSD: ext2fs_vnops.c,v 1.91 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: ext2fs_vnops.c,v 1.1 1997/06/11 09:34:09 bouyer Exp $ */ /* @@ -88,7 +88,6 @@ ext2fs_create(void *v) /* * Mknod vnode call */ -/* ARGSUSED */ int ext2fs_mknod(void *v) { @@ -128,7 +127,6 @@ ext2fs_mknod(void *v) * * Just check the APPEND flag. */ -/* ARGSUSED */ int ext2fs_open(void *v) { @@ -159,7 +157,6 @@ ext2fs_access(void *v) ip->i_e2fs_gid, mode, ap->a_cred)); } -/* ARGSUSED */ int ext2fs_getattr(void *v) { @@ -1215,7 +1212,6 @@ bad: /* * Synch an open file. */ -/* ARGSUSED */ int ext2fs_fsync(void *v) { diff --git a/sys/ufs/ufs/ufs_vfsops.c b/sys/ufs/ufs/ufs_vfsops.c index ad023402bab..3c06100c4ce 100644 --- a/sys/ufs/ufs/ufs_vfsops.c +++ b/sys/ufs/ufs/ufs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_vfsops.c,v 1.19 2015/03/14 03:38:53 jsg Exp $ */ +/* $OpenBSD: ufs_vfsops.c,v 1.20 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: ufs_vfsops.c,v 1.4 1996/02/09 22:36:12 christos Exp $ */ /* @@ -57,7 +57,6 @@ * Make a filesystem operational. * Nothing to do at the moment. */ -/* ARGSUSED */ int ufs_start(struct mount *mp, int flags, struct proc *p) { diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index 24a1e4b42cf..a76d8940c50 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_vnops.c,v 1.156 2022/06/26 05:20:43 visa Exp $ */ +/* $OpenBSD: ufs_vnops.c,v 1.157 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */ /* @@ -571,7 +571,6 @@ error: } -/* ARGSUSED */ int ufs_ioctl(void *v) { diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c index db0adcfdcc4..6d00d80b7f9 100644 --- a/sys/uvm/uvm_mmap.c +++ b/sys/uvm/uvm_mmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_mmap.c,v 1.179 2023/02/16 04:42:08 deraadt Exp $ */ +/* $OpenBSD: uvm_mmap.c,v 1.180 2023/03/08 04:43:09 guenther Exp $ */ /* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */ /* @@ -707,7 +707,6 @@ sys_minherit(struct proc *p, void *v, register_t *retval) /* * sys_madvise: give advice about memory usage. */ -/* ARGSUSED */ int sys_madvise(struct proc *p, void *v, register_t *retval) { |