From: guenther Date: Wed, 8 Mar 2023 04:43:04 +0000 (+0000) Subject: Delete obsolete /* ARGSUSED */ lint comments. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5b133f3f277e80f096764111e64f3a1284acb179;p=openbsd Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@ --- diff --git a/bin/csh/csh.c b/bin/csh/csh.c index 925b8272b04..c948f5d7063 100644 --- a/bin/csh/csh.c +++ b/bin/csh/csh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: csh.c,v 1.49 2022/01/28 05:15:05 guenther Exp $ */ +/* $OpenBSD: csh.c,v 1.50 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: csh.c,v 1.14 1995/04/29 23:21:28 mycroft Exp $ */ /*- @@ -946,7 +946,6 @@ Char *jobargv[2] = {STRjobs, 0}; * and finally go through the normal error mechanism, which * gets a chance to make the shell go away. */ -/* ARGSUSED */ void pintr(int notused) { @@ -1148,7 +1147,6 @@ process(bool catch) } void -/*ARGSUSED*/ dosource(Char **v, struct command *t) { Char *f; diff --git a/bin/csh/dir.c b/bin/csh/dir.c index 2453531aa94..14a498d3c5e 100644 --- a/bin/csh/dir.c +++ b/bin/csh/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.25 2020/08/30 22:23:47 mortimer Exp $ */ +/* $OpenBSD: dir.c,v 1.26 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: dir.c,v 1.9 1995/03/21 09:02:42 cgd Exp $ */ /*- @@ -174,7 +174,6 @@ skipargs(Char ***v, char *str) * dodirs - list all directories in directory loop */ void -/*ARGSUSED*/ dodirs(Char **v, struct command *t) { skipargs(&v, ""); @@ -318,7 +317,6 @@ dnormalize(Char *cp) * dochngd - implement chdir command. */ void -/*ARGSUSED*/ dochngd(Char **v, struct command *t) { Char *cp; @@ -465,7 +463,6 @@ dfollow(Char *cp) * with numeric argument (+n) bring it to top. */ void -/*ARGSUSED*/ dopushd(Char **v, struct command *t) { struct directory *dp; @@ -547,7 +544,6 @@ dfind(Char *cp) * with a numeric argument just discard it. */ void -/*ARGSUSED*/ dopopd(Char **v, struct command *t) { struct directory *dp, *p = NULL; diff --git a/bin/csh/dol.c b/bin/csh/dol.c index 8d96579a2aa..d7ba5fa15b3 100644 --- a/bin/csh/dol.c +++ b/bin/csh/dol.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dol.c,v 1.26 2019/06/28 05:35:34 deraadt Exp $ */ +/* $OpenBSD: dol.c,v 1.27 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: dol.c,v 1.8 1995/09/27 00:38:38 jtc Exp $ */ /*- @@ -810,7 +810,6 @@ Dtestq(int c) * Unit 0 should have been closed before this call. */ void -/*ARGSUSED*/ heredoc(Char *term) { int c; diff --git a/bin/csh/exec.c b/bin/csh/exec.c index 73530dfae3d..ca4bc6c6a9a 100644 --- a/bin/csh/exec.c +++ b/bin/csh/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.21 2018/09/18 06:56:09 deraadt Exp $ */ +/* $OpenBSD: exec.c,v 1.22 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: exec.c,v 1.9 1996/09/30 20:03:54 christos Exp $ */ /*- @@ -97,7 +97,6 @@ static int iscommand(Char *); void -/*ARGSUSED*/ doexec(Char **v, struct command *t) { Char *dp, **pv, **av, *sav; @@ -340,7 +339,6 @@ texec(Char *sf, Char **st) } } -/*ARGSUSED*/ void execash(Char **t, struct command *kp) { @@ -420,7 +418,6 @@ xechoit(Char **t) } void -/*ARGSUSED*/ dohash(Char **v, struct command *t) { DIR *dirp; @@ -458,14 +455,12 @@ dohash(Char **v, struct command *t) } void -/*ARGSUSED*/ dounhash(Char **v, struct command *t) { havhash = 0; } void -/*ARGSUSED*/ hashstat(Char **v, struct command *t) { if (hits + misses) @@ -585,7 +580,6 @@ executable(Char *dir, Char *name, bool dir_ok) * West-Germany * Thanks!! */ -/*ARGSUSED*/ void dowhich(Char **v, struct command *c) { diff --git a/bin/csh/func.c b/bin/csh/func.c index 9a8414360cc..b9a775b8a52 100644 --- a/bin/csh/func.c +++ b/bin/csh/func.c @@ -1,4 +1,4 @@ -/* $OpenBSD: func.c,v 1.40 2021/07/02 15:34:27 deraadt Exp $ */ +/* $OpenBSD: func.c,v 1.41 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: func.c,v 1.11 1996/02/09 02:28:29 christos Exp $ */ /*- @@ -114,7 +114,6 @@ func(struct command *t, struct biltins *bp) } void -/*ARGSUSED*/ doonintr(Char **v, struct command *t) { Char *cp; @@ -148,7 +147,6 @@ doonintr(Char **v, struct command *t) } void -/*ARGSUSED*/ donohup(Char **v, struct command *t) { if (intty) @@ -159,7 +157,6 @@ donohup(Char **v, struct command *t) } void -/*ARGSUSED*/ dozip(Char **v, struct command *t) { ; @@ -172,7 +169,6 @@ prvars(void) } void -/*ARGSUSED*/ doalias(Char **v, struct command *t) { struct varent *vp; @@ -199,14 +195,12 @@ doalias(Char **v, struct command *t) } void -/*ARGSUSED*/ unalias(Char **v, struct command *t) { unset1(v, &aliases); } void -/*ARGSUSED*/ dologout(Char **v, struct command *t) { islogin(); @@ -214,7 +208,6 @@ dologout(Char **v, struct command *t) } void -/*ARGSUSED*/ dologin(Char **v, struct command *t) { islogin(); @@ -287,14 +280,12 @@ reexecute(struct command *kp) } void -/*ARGSUSED*/ doelse(Char **v, struct command *t) { search(T_ELSE, 0, NULL); } void -/*ARGSUSED*/ dogoto(Char **v, struct command *t) { Char *lp; @@ -327,7 +318,6 @@ gotolab(Char *lab) } void -/*ARGSUSED*/ doswitch(Char **v, struct command *t) { Char *cp, *lp; @@ -345,7 +335,6 @@ doswitch(Char **v, struct command *t) } void -/*ARGSUSED*/ dobreak(Char **v, struct command *t) { if (whyles) @@ -355,7 +344,6 @@ dobreak(Char **v, struct command *t) } void -/*ARGSUSED*/ doexit(Char **v, struct command *t) { if (chkstop == 0 && (intty || intact) && evalvec == 0) @@ -375,7 +363,6 @@ doexit(Char **v, struct command *t) } void -/*ARGSUSED*/ doforeach(Char **v, struct command *t) { Char *cp, *sp; @@ -417,7 +404,6 @@ doforeach(Char **v, struct command *t) } void -/*ARGSUSED*/ dowhile(Char **v, struct command *t) { int status; @@ -477,7 +463,6 @@ preread(void) } void -/*ARGSUSED*/ doend(Char **v, struct command *t) { if (!whyles) @@ -487,7 +472,6 @@ doend(Char **v, struct command *t) } void -/*ARGSUSED*/ docontin(Char **v, struct command *t) { if (!whyles) @@ -541,7 +525,6 @@ dorepeat(Char **v, struct command *kp) } void -/*ARGSUSED*/ doswbrk(Char **v, struct command *t) { search(T_BRKSW, 0, NULL); @@ -829,14 +812,12 @@ wfree(void) } void -/*ARGSUSED*/ doecho(Char **v, struct command *t) { xecho(' ', v); } void -/*ARGSUSED*/ doglob(Char **v, struct command *t) { xecho(0, v); @@ -890,7 +871,6 @@ xecho(int sep, Char **v) } void -/*ARGSUSED*/ dosetenv(Char **v, struct command *t) { Char *vp, *lp; @@ -920,7 +900,6 @@ dosetenv(Char **v, struct command *t) } void -/*ARGSUSED*/ dounsetenv(Char **v, struct command *t) { Char **ep, *p, *n, *name; @@ -1011,7 +990,6 @@ Unsetenv(Char *name) } void -/*ARGSUSED*/ doumask(Char **v, struct command *t) { Char *cp = v[1]; @@ -1078,7 +1056,6 @@ findlim(Char *cp) } void -/*ARGSUSED*/ dolimit(Char **v, struct command *t) { struct limits *lp; @@ -1184,7 +1161,6 @@ limtail(Char *cp, char *str) stderror(ERR_BADSCALE, origstr); } -/*ARGSUSED*/ static void plim(struct limits *lp, Char hard) { @@ -1207,7 +1183,6 @@ plim(struct limits *lp, Char hard) } void -/*ARGSUSED*/ dounlimit(Char **v, struct command *t) { struct limits *lp; @@ -1261,7 +1236,6 @@ setlim(struct limits *lp, Char hard, rlim_t limit) } void -/*ARGSUSED*/ dosuspend(Char **v, struct command *t) { int ctpgrp; @@ -1307,7 +1281,6 @@ retry: static Char **gv = NULL; void -/*ARGSUSED*/ doeval(Char **v, struct command *t) { Char **oevalvec; diff --git a/bin/csh/hist.c b/bin/csh/hist.c index 5b3edc0eb8a..722e2182089 100644 --- a/bin/csh/hist.c +++ b/bin/csh/hist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hist.c,v 1.10 2015/12/26 13:48:38 mestre Exp $ */ +/* $OpenBSD: hist.c,v 1.11 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: hist.c,v 1.7 1995/03/21 18:35:44 mycroft Exp $ */ /*- @@ -101,7 +101,6 @@ hfree(struct Hist *hp) } void -/*ARGSUSED*/ dohist(Char **v, struct command *t) { int n, rflg = 0, hflg = 0; diff --git a/bin/csh/proc.c b/bin/csh/proc.c index 03a8ff4e673..369e1d699ab 100644 --- a/bin/csh/proc.c +++ b/bin/csh/proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.c,v 1.34 2020/08/30 22:23:47 mortimer Exp $ */ +/* $OpenBSD: proc.c,v 1.35 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: proc.c,v 1.9 1995/04/29 23:21:33 mycroft Exp $ */ /*- @@ -344,7 +344,6 @@ pjwait(struct process *pp) * dowait - wait for all processes to finish */ void -/*ARGSUSED*/ dowait(Char **v, struct command *t) { struct process *pp; @@ -831,7 +830,6 @@ ptprint(struct process *tp) * dojobs - print all jobs */ void -/*ARGSUSED*/ dojobs(Char **v, struct command *t) { struct process *pp; @@ -859,7 +857,6 @@ dojobs(Char **v, struct command *t) * dofg - builtin - put the job into the foreground */ void -/*ARGSUSED*/ dofg(Char **v, struct command *t) { struct process *pp; @@ -877,7 +874,6 @@ dofg(Char **v, struct command *t) * %... - builtin - put the job into the foreground */ void -/*ARGSUSED*/ dofg1(Char **v, struct command *t) { struct process *pp; @@ -892,7 +888,6 @@ dofg1(Char **v, struct command *t) * dobg - builtin - put the job into the background */ void -/*ARGSUSED*/ dobg(Char **v, struct command *t) { struct process *pp; @@ -909,7 +904,6 @@ dobg(Char **v, struct command *t) * %... & - builtin - put the job into the background */ void -/*ARGSUSED*/ dobg1(Char **v, struct command *t) { struct process *pp; @@ -922,7 +916,6 @@ dobg1(Char **v, struct command *t) * dostop - builtin - stop the job */ void -/*ARGSUSED*/ dostop(Char **v, struct command *t) { pkill(++v, SIGSTOP); @@ -932,7 +925,6 @@ dostop(Char **v, struct command *t) * dokill - builtin - superset of kill (1) */ void -/*ARGSUSED*/ dokill(Char **v, struct command *t) { int signum = SIGTERM; @@ -1218,7 +1210,6 @@ pgetcurr(struct process *pp) * donotify - flag the job so as to report termination asynchronously */ void -/*ARGSUSED*/ donotify(Char **v, struct command *t) { struct process *pp; diff --git a/bin/csh/set.c b/bin/csh/set.c index cbb391db197..0a986bc7ab7 100644 --- a/bin/csh/set.c +++ b/bin/csh/set.c @@ -1,4 +1,4 @@ -/* $OpenBSD: set.c,v 1.24 2022/01/28 05:15:05 guenther Exp $ */ +/* $OpenBSD: set.c,v 1.25 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: set.c,v 1.8 1995/03/21 18:35:52 mycroft Exp $ */ /*- @@ -55,7 +55,6 @@ static void balance(struct varent *, int, int); */ void -/*ARGSUSED*/ doset(Char **v, struct command *t) { Char *p; @@ -198,7 +197,6 @@ getvx(Char *vp, int subscr) } void -/*ARGSUSED*/ dolet(Char **v, struct command *t) { Char *p; @@ -456,7 +454,6 @@ found: } void -/*ARGSUSED*/ unset(Char **v, struct command *t) { unset1(v, &shvhed); @@ -544,7 +541,6 @@ setNS(Char *cp) } void -/*ARGSUSED*/ shift(Char **v, struct command *t) { struct varent *argv; diff --git a/bin/csh/time.c b/bin/csh/time.c index 7483a898859..30c2b9b4aa8 100644 --- a/bin/csh/time.c +++ b/bin/csh/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.17 2018/09/18 06:56:09 deraadt Exp $ */ +/* $OpenBSD: time.c,v 1.18 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: time.c,v 1.7 1995/03/21 13:55:25 mycroft Exp $ */ /*- @@ -57,7 +57,6 @@ settimes(void) * prefix to another command */ void -/*ARGSUSED*/ dotime(Char **v, struct command *t) { struct timespec timedol; @@ -74,7 +73,6 @@ dotime(Char **v, struct command *t) * donice is only called when it on the line by itself or with a +- value */ void -/*ARGSUSED*/ donice(Char **v, struct command *t) { Char *cp; diff --git a/bin/echo/echo.c b/bin/echo/echo.c index 7a5d38cdc30..52da05c050f 100644 --- a/bin/echo/echo.c +++ b/bin/echo/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.10 2015/10/09 01:37:06 deraadt Exp $ */ +/* $OpenBSD: echo.c,v 1.11 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: echo.c,v 1.6 1995/03/21 09:04:27 cgd Exp $ */ /* @@ -35,7 +35,6 @@ #include #include -/* ARGSUSED */ int main(int argc, char *argv[]) { diff --git a/bin/mt/mtrmt.c b/bin/mt/mtrmt.c index d1e9f1f5d19..9fa7a745f58 100644 --- a/bin/mt/mtrmt.c +++ b/bin/mt/mtrmt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mtrmt.c,v 1.24 2019/07/03 03:24:01 deraadt Exp $ */ +/* $OpenBSD: mtrmt.c,v 1.25 2023/03/08 04:43:04 guenther Exp $ */ /* $NetBSD: mtrmt.c,v 1.2 1996/03/06 06:22:07 scottr Exp $ */ /*- @@ -84,7 +84,6 @@ rmthost(char *host) return (1); } -/* ARGSUSED */ static void sigrmtconnaborted(int signo) { diff --git a/distrib/special/libstubs/mbrtowc_sb.c b/distrib/special/libstubs/mbrtowc_sb.c index a33b57606f4..327c76f584d 100644 --- a/distrib/special/libstubs/mbrtowc_sb.c +++ b/distrib/special/libstubs/mbrtowc_sb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbrtowc_sb.c,v 1.2 2014/02/21 18:29:57 deraadt Exp $ */ +/* $OpenBSD: mbrtowc_sb.c,v 1.3 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 1991 The Regents of the University of California. @@ -33,7 +33,6 @@ #include #include -/*ARGSUSED*/ size_t mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps) { diff --git a/lib/libedit/common.c b/lib/libedit/common.c index 8d20c480066..8bb31c1e8c8 100644 --- a/lib/libedit/common.c +++ b/lib/libedit/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.22 2016/05/22 23:09:56 schwarze Exp $ */ +/* $OpenBSD: common.c,v 1.23 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: common.c,v 1.24 2009/12/30 22:37:40 christos Exp $ */ /*- @@ -52,7 +52,6 @@ * [^D] */ protected el_action_t -/*ARGSUSED*/ ed_end_of_file(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -109,7 +108,6 @@ ed_insert(EditLine *el, wint_t c) * [M-^?] [^W] */ protected el_action_t -/*ARGSUSED*/ ed_delete_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *p, *kp; @@ -137,7 +135,6 @@ ed_delete_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) * [^D] [x] */ protected el_action_t -/*ARGSUSED*/ ed_delete_next_char(EditLine *el, wint_t c) { #ifdef notdef /* XXX */ @@ -187,7 +184,6 @@ ed_delete_next_char(EditLine *el, wint_t c) * [^K] [^K] */ protected el_action_t -/*ARGSUSED*/ ed_kill_line(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -208,7 +204,6 @@ ed_kill_line(EditLine *el, wint_t c __attribute__((__unused__))) * [^E] [^E] */ protected el_action_t -/*ARGSUSED*/ ed_move_to_end(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -231,7 +226,6 @@ ed_move_to_end(EditLine *el, wint_t c __attribute__((__unused__))) * [^A] [^A] */ protected el_action_t -/*ARGSUSED*/ ed_move_to_beg(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -280,7 +274,6 @@ ed_transpose_chars(EditLine *el, wint_t c) * [^F] [^F] */ protected el_action_t -/*ARGSUSED*/ ed_next_char(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *lim = el->el_line.lastchar; @@ -309,7 +302,6 @@ ed_next_char(EditLine *el, wint_t c __attribute__((__unused__))) * [M-b] [b] */ protected el_action_t -/*ARGSUSED*/ ed_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -335,7 +327,6 @@ ed_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) * [^B] [^B] */ protected el_action_t -/*ARGSUSED*/ ed_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -430,7 +421,6 @@ ed_argument_digit(EditLine *el, wint_t c) * Bound to keys that are not assigned */ protected el_action_t -/*ARGSUSED*/ ed_unassigned(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -443,7 +433,6 @@ ed_unassigned(EditLine *el, wint_t c __attribute__((__unused__))) * [^C ^O ^Q ^S ^Z ^\ ^]] [^C ^O ^Q ^S ^\] */ protected el_action_t -/*ARGSUSED*/ ed_ignore(EditLine *el __attribute__((__unused__)), wint_t c __attribute__((__unused__))) { @@ -457,7 +446,6 @@ ed_ignore(EditLine *el __attribute__((__unused__)), * [^J] */ protected el_action_t -/*ARGSUSED*/ ed_newline(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -473,7 +461,6 @@ ed_newline(EditLine *el, wint_t c __attribute__((__unused__))) * [^?] */ protected el_action_t -/*ARGSUSED*/ ed_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -493,7 +480,6 @@ ed_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) * [^L] */ protected el_action_t -/*ARGSUSED*/ ed_clear_screen(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -508,7 +494,6 @@ ed_clear_screen(EditLine *el, wint_t c __attribute__((__unused__))) * ^R */ protected el_action_t -/*ARGSUSED*/ ed_redisplay(EditLine *el __attribute__((__unused__)), wint_t c __attribute__((__unused__))) { @@ -522,7 +507,6 @@ ed_redisplay(EditLine *el __attribute__((__unused__)), * [^G] */ protected el_action_t -/*ARGSUSED*/ ed_start_over(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -536,7 +520,6 @@ ed_start_over(EditLine *el, wint_t c __attribute__((__unused__))) * Placeholder for external keys */ protected el_action_t -/*ARGSUSED*/ ed_sequence_lead_in(EditLine *el __attribute__((__unused__)), wint_t c __attribute__((__unused__))) { @@ -550,7 +533,6 @@ ed_sequence_lead_in(EditLine *el __attribute__((__unused__)), * [^P] [k] */ protected el_action_t -/*ARGSUSED*/ ed_prev_history(EditLine *el, wint_t c __attribute__((__unused__))) { char beep = 0; @@ -587,7 +569,6 @@ ed_prev_history(EditLine *el, wint_t c __attribute__((__unused__))) * [^N] [j] */ protected el_action_t -/*ARGSUSED*/ ed_next_history(EditLine *el, wint_t c __attribute__((__unused__))) { el_action_t beep = CC_REFRESH, rval; @@ -614,7 +595,6 @@ ed_next_history(EditLine *el, wint_t c __attribute__((__unused__))) * next search history [M-P] [K] */ protected el_action_t -/*ARGSUSED*/ ed_search_prev_history(EditLine *el, wint_t c __attribute__((__unused__))) { const wchar_t *hp; @@ -682,7 +662,6 @@ ed_search_prev_history(EditLine *el, wint_t c __attribute__((__unused__))) * [M-N] [J] */ protected el_action_t -/*ARGSUSED*/ ed_search_next_history(EditLine *el, wint_t c __attribute__((__unused__))) { const wchar_t *hp; @@ -736,7 +715,6 @@ ed_search_next_history(EditLine *el, wint_t c __attribute__((__unused__))) * Could be [k] [^p] */ protected el_action_t -/*ARGSUSED*/ ed_prev_line(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *ptr; @@ -779,7 +757,6 @@ ed_prev_line(EditLine *el, wint_t c __attribute__((__unused__))) * Could be [j] [^n] */ protected el_action_t -/*ARGSUSED*/ ed_next_line(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *ptr; @@ -813,7 +790,6 @@ ed_next_line(EditLine *el, wint_t c __attribute__((__unused__))) * [M-X] [:] */ protected el_action_t -/*ARGSUSED*/ ed_command(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t tmpbuf[EL_BUFSIZ]; diff --git a/lib/libedit/el.c b/lib/libedit/el.c index 2b57de13e6e..e77f0d146c9 100644 --- a/lib/libedit/el.c +++ b/lib/libedit/el.c @@ -1,4 +1,4 @@ -/* $OpenBSD: el.c,v 1.37 2017/04/12 18:24:37 tb Exp $ */ +/* $OpenBSD: el.c,v 1.38 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: el.c,v 1.61 2011/01/27 23:11:40 christos Exp $ */ /*- @@ -597,7 +597,6 @@ el_beep(EditLine *el) * Set the state of EDIT_DISABLED from the `edit' command. */ protected int -/*ARGSUSED*/ el_editmode(EditLine *el, int argc, const wchar_t **argv) { const wchar_t *how; diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c index 19503d6fb54..138157224d2 100644 --- a/lib/libedit/emacs.c +++ b/lib/libedit/emacs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emacs.c,v 1.17 2016/05/06 13:12:52 schwarze Exp $ */ +/* $OpenBSD: emacs.c,v 1.18 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: emacs.c,v 1.35 2016/04/18 17:01:19 christos Exp $ */ /*- @@ -49,7 +49,6 @@ * [^D] */ protected el_action_t -/*ARGSUSED*/ em_delete_or_list(EditLine *el, wint_t c) { @@ -85,7 +84,6 @@ em_delete_or_list(EditLine *el, wint_t c) * [M-d] */ protected el_action_t -/*ARGSUSED*/ em_delete_next_word(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *p, *kp; @@ -114,7 +112,6 @@ em_delete_next_word(EditLine *el, wint_t c __attribute__((__unused__))) * [^Y] */ protected el_action_t -/*ARGSUSED*/ em_yank(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -150,7 +147,6 @@ em_yank(EditLine *el, wint_t c __attribute__((__unused__))) * [^U] */ protected el_action_t -/*ARGSUSED*/ em_kill_line(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -172,7 +168,6 @@ em_kill_line(EditLine *el, wint_t c __attribute__((__unused__))) * [^W] */ protected el_action_t -/*ARGSUSED*/ em_kill_region(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -205,7 +200,6 @@ em_kill_region(EditLine *el, wint_t c __attribute__((__unused__))) * [M-W] */ protected el_action_t -/*ARGSUSED*/ em_copy_region(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -254,7 +248,6 @@ em_gosmacs_transpose(EditLine *el, wint_t c) * [M-f] */ protected el_action_t -/*ARGSUSED*/ em_next_word(EditLine *el, wint_t c __attribute__((__unused__))) { if (el->el_line.cursor == el->el_line.lastchar) @@ -279,7 +272,6 @@ em_next_word(EditLine *el, wint_t c __attribute__((__unused__))) * [M-u] */ protected el_action_t -/*ARGSUSED*/ em_upper_case(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *ep; @@ -303,7 +295,6 @@ em_upper_case(EditLine *el, wint_t c __attribute__((__unused__))) * [M-c] */ protected el_action_t -/*ARGSUSED*/ em_capitol_case(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *ep; @@ -335,7 +326,6 @@ em_capitol_case(EditLine *el, wint_t c __attribute__((__unused__))) * [M-l] */ protected el_action_t -/*ARGSUSED*/ em_lower_case(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *ep; @@ -359,7 +349,6 @@ em_lower_case(EditLine *el, wint_t c __attribute__((__unused__))) * [^@] */ protected el_action_t -/*ARGSUSED*/ em_set_mark(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -373,7 +362,6 @@ em_set_mark(EditLine *el, wint_t c __attribute__((__unused__))) * [^X^X] */ protected el_action_t -/*ARGSUSED*/ em_exchange_mark(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp; @@ -390,7 +378,6 @@ em_exchange_mark(EditLine *el, wint_t c __attribute__((__unused__))) * [^U] */ protected el_action_t -/*ARGSUSED*/ em_universal_argument(EditLine *el, wint_t c __attribute__((__unused__))) { /* multiply current argument by 4 */ @@ -407,7 +394,6 @@ em_universal_argument(EditLine *el, wint_t c __attribute__((__unused__))) * [] */ protected el_action_t -/*ARGSUSED*/ em_meta_next(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -420,7 +406,6 @@ em_meta_next(EditLine *el, wint_t c __attribute__((__unused__))) * Switch from insert to overwrite mode or vice versa */ protected el_action_t -/*ARGSUSED*/ em_toggle_overwrite(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -434,7 +419,6 @@ em_toggle_overwrite(EditLine *el, wint_t c __attribute__((__unused__))) * Copy current word to cursor */ protected el_action_t -/*ARGSUSED*/ em_copy_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *cp, *oldc, *dp; @@ -461,7 +445,6 @@ em_copy_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) * Emacs incremental next search */ protected el_action_t -/*ARGSUSED*/ em_inc_search_next(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -474,7 +457,6 @@ em_inc_search_next(EditLine *el, wint_t c __attribute__((__unused__))) * Emacs incremental reverse search */ protected el_action_t -/*ARGSUSED*/ em_inc_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -488,7 +470,6 @@ em_inc_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) * [^?] */ protected el_action_t -/*ARGSUSED*/ em_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { diff --git a/lib/libedit/filecomplete.c b/lib/libedit/filecomplete.c index 6c22624f75b..28b89101428 100644 --- a/lib/libedit/filecomplete.c +++ b/lib/libedit/filecomplete.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filecomplete.c,v 1.12 2016/04/11 20:43:33 schwarze Exp $ */ +/* $OpenBSD: filecomplete.c,v 1.13 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: filecomplete.c,v 1.22 2010/12/02 04:42:46 dholland Exp $ */ /*- @@ -545,7 +545,6 @@ fn_complete(EditLine *el, /* * el-compatible wrapper around rl_complete; needed for key binding */ -/* ARGSUSED */ unsigned char _el_fn_complete(EditLine *el, int ch __attribute__((__unused__))) { diff --git a/lib/libedit/hist.c b/lib/libedit/hist.c index c26ff93c12f..c82a1f0369b 100644 --- a/lib/libedit/hist.c +++ b/lib/libedit/hist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hist.c,v 1.18 2017/04/12 18:24:37 tb Exp $ */ +/* $OpenBSD: hist.c,v 1.19 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: hist.c,v 1.28 2016/04/11 00:50:13 christos Exp $ */ /*- @@ -188,7 +188,6 @@ hist_command(EditLine *el, int argc, const wchar_t **argv) * Return 0 for failure, 1 for success. */ protected int -/*ARGSUSED*/ hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz) { wchar_t *newbuf; diff --git a/lib/libedit/history.c b/lib/libedit/history.c index e92600253be..57322087d2d 100644 --- a/lib/libedit/history.c +++ b/lib/libedit/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.28 2016/04/11 21:17:29 schwarze Exp $ */ +/* $OpenBSD: history.c,v 1.29 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: history.c,v 1.37 2010/01/03 18:27:10 christos Exp $ */ /*- @@ -449,7 +449,6 @@ history_deldata_nth(history_t *h, TYPE(HistEvent) *ev, /* history_def_del(): * Delete element hp of the h list */ -/* ARGSUSED */ static int history_def_del(void *p, TYPE(HistEvent) *ev __attribute__((__unused__)), const int num) @@ -467,7 +466,6 @@ history_def_del(void *p, TYPE(HistEvent) *ev __attribute__((__unused__)), /* history_def_delete(): * Delete element hp of the h list */ -/* ARGSUSED */ static void history_def_delete(history_t *h, TYPE(HistEvent) *ev __attribute__((__unused__)), hentry_t *hp) @@ -547,7 +545,6 @@ history_def_enter(void *p, TYPE(HistEvent) *ev, const Char *str) /* history_def_init(): * Default history initialization function */ -/* ARGSUSED */ static int history_def_init(void **p, TYPE(HistEvent) *ev __attribute__((__unused__)), int n) { diff --git a/lib/libedit/prompt.c b/lib/libedit/prompt.c index 360042466b9..67fb84ace94 100644 --- a/lib/libedit/prompt.c +++ b/lib/libedit/prompt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prompt.c,v 1.13 2016/04/11 21:17:29 schwarze Exp $ */ +/* $OpenBSD: prompt.c,v 1.14 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: prompt.c,v 1.25 2016/04/11 18:56:31 christos Exp $ */ /*- @@ -48,7 +48,6 @@ static wchar_t *prompt_default_r(EditLine *); * Just a default prompt, in case the user did not provide one */ static wchar_t * -/*ARGSUSED*/ prompt_default(EditLine *el __attribute__((__unused__))) { static wchar_t a[3] = L"? "; @@ -61,7 +60,6 @@ prompt_default(EditLine *el __attribute__((__unused__))) * Just a default rprompt, in case the user did not provide one */ static wchar_t * -/*ARGSUSED*/ prompt_default_r(EditLine *el __attribute__((__unused__))) { static wchar_t a[1] = L""; @@ -130,7 +128,6 @@ prompt_init(EditLine *el) * Clean up the prompt stuff */ protected void -/*ARGSUSED*/ prompt_end(EditLine *el __attribute__((__unused__))) { } diff --git a/lib/libedit/readline.c b/lib/libedit/readline.c index 3fa6593f678..99364cbfd36 100644 --- a/lib/libedit/readline.c +++ b/lib/libedit/readline.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readline.c,v 1.29 2019/08/14 08:31:00 asou Exp $ */ +/* $OpenBSD: readline.c,v 1.30 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: readline.c,v 1.91 2010/08/28 15:44:59 christos Exp $ */ /*- @@ -178,7 +178,6 @@ static int _rl_event_read_char(EditLine *, wchar_t *); static void _rl_update_pos(void); -/* ARGSUSED */ static char * _get_prompt(EditLine *el __attribute__((__unused__))) { @@ -210,7 +209,6 @@ _move_history(int op) * read one key from user defined input function */ static int -/*ARGSUSED*/ _getc_function(EditLine *el __attribute__((__unused__)), wchar_t *c) { int i; @@ -1674,7 +1672,6 @@ history_search_prefix(const char *str, int direction) * search for event in history containing str, starting at offset * abs(pos); continue backward, if pos<0, forward otherwise */ -/* ARGSUSED */ int history_search_pos(const char *str, int direction __attribute__((__unused__)), int pos) @@ -1757,7 +1754,6 @@ username_completion_function(const char *text, int state) /* * el-compatible wrapper to send TSTP on ^Z */ -/* ARGSUSED */ static unsigned char _el_rl_tstp(EditLine *el __attribute__((__unused__)), int ch __attribute__((__unused__))) { @@ -1778,7 +1774,6 @@ rl_display_match_list(char **matches, int len, int max) } static const char * -/*ARGSUSED*/ _rl_completion_append_character_function(const char *dummy __attribute__((__unused__))) { @@ -1792,7 +1787,6 @@ _rl_completion_append_character_function(const char *dummy /* * complete word at current point */ -/* ARGSUSED */ int rl_complete(int ignore __attribute__((__unused__)), int invoking_key) { @@ -1824,7 +1818,6 @@ rl_complete(int ignore __attribute__((__unused__)), int invoking_key) } -/* ARGSUSED */ static unsigned char _el_rl_complete(EditLine *el __attribute__((__unused__)), int ch) { @@ -1874,7 +1867,6 @@ rl_read_key(void) /* * reset the terminal */ -/* ARGSUSED */ void rl_reset_terminal(const char *p __attribute__((__unused__))) { @@ -1920,7 +1912,6 @@ rl_insert_text(const char *text) return (int)strlen(text); } -/*ARGSUSED*/ int rl_newline(int count, int c) { @@ -1930,7 +1921,6 @@ rl_newline(int count, int c) return rl_insert(1, '\n'); } -/*ARGSUSED*/ static unsigned char rl_bind_wrapper(EditLine *el, unsigned char c) { @@ -2026,7 +2016,6 @@ rl_get_previous_history(int count, int key) } void -/*ARGSUSED*/ rl_prep_terminal(int meta_flag) { el_set(e, EL_PREP_TERM, 1); @@ -2245,7 +2234,6 @@ history_get_history_state(void) } int -/*ARGSUSED*/ rl_kill_text(int from, int to) { return 0; @@ -2264,20 +2252,17 @@ rl_get_keymap(void) } void -/*ARGSUSED*/ rl_set_keymap(Keymap k) { } int -/*ARGSUSED*/ rl_generic_bind(int type, const char * keyseq, const char * data, Keymap k) { return 0; } int -/*ARGSUSED*/ rl_bind_key_in_map(int key, rl_command_func_t *fun, Keymap k) { return 0; @@ -2296,7 +2281,6 @@ rl_on_new_line(void) } int -/*ARGSUSED*/ rl_set_keyboard_input_timeout(int u __attribute__((__unused__))) { return 0; diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c index f9ba18d2a8f..2e25491e56d 100644 --- a/lib/libedit/refresh.c +++ b/lib/libedit/refresh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: refresh.c,v 1.22 2018/10/11 15:19:09 millert Exp $ */ +/* $OpenBSD: refresh.c,v 1.23 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: refresh.c,v 1.50 2016/05/02 16:35:17 christos Exp $ */ /*- @@ -352,7 +352,6 @@ re_goto_bottom(EditLine *el) * at dat, maximum length of d is dlen */ static void -/*ARGSUSED*/ re_insert(EditLine *el __attribute__((__unused__)), wchar_t *d, int dat, int dlen, wchar_t *s, int num) { @@ -403,7 +402,6 @@ re_insert(EditLine *el __attribute__((__unused__)), * delete num characters d at dat, maximum length of d is dlen */ static void -/*ARGSUSED*/ re_delete(EditLine *el __attribute__((__unused__)), wchar_t *d, int dat, int dlen, int num) { diff --git a/lib/libedit/search.c b/lib/libedit/search.c index 58459ec3faf..68c725aefd3 100644 --- a/lib/libedit/search.c +++ b/lib/libedit/search.c @@ -1,4 +1,4 @@ -/* $OpenBSD: search.c,v 1.27 2016/05/06 13:12:52 schwarze Exp $ */ +/* $OpenBSD: search.c,v 1.28 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: search.c,v 1.45 2016/04/18 17:01:19 christos Exp $ */ /*- @@ -95,7 +95,6 @@ search_end(EditLine *el) * Handle regular expression errors */ void -/*ARGSUSED*/ regerror(const char *msg) { } diff --git a/lib/libedit/terminal.c b/lib/libedit/terminal.c index a2feda87985..7a9db20e15c 100644 --- a/lib/libedit/terminal.c +++ b/lib/libedit/terminal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: terminal.c,v 1.19 2019/08/07 04:22:16 yasuoka Exp $ */ +/* $OpenBSD: terminal.c,v 1.20 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: terminal.c,v 1.17 2016/02/15 15:35:03 christos Exp $ */ /*- @@ -1268,7 +1268,6 @@ terminal_writec(EditLine *el, wint_t c) * Print the current termcap characteristics */ protected int -/*ARGSUSED*/ terminal_telltc(EditLine *el, int argc __attribute__((__unused__)), const wchar_t **argv __attribute__((__unused__))) { @@ -1310,7 +1309,6 @@ terminal_telltc(EditLine *el, int argc __attribute__((__unused__)), * Change the current terminal characteristics */ protected int -/*ARGSUSED*/ terminal_settc(EditLine *el, int argc __attribute__((__unused__)), const wchar_t **argv) { @@ -1389,7 +1387,6 @@ terminal_settc(EditLine *el, int argc __attribute__((__unused__)), * Get the current terminal characteristics */ protected int -/*ARGSUSED*/ terminal_gettc(EditLine *el, int argc __attribute__((__unused__)), char **argv) { const struct termcapstr *ts; @@ -1443,7 +1440,6 @@ terminal_gettc(EditLine *el, int argc __attribute__((__unused__)), char **argv) * Print the termcap string out with variable substitution */ protected int -/*ARGSUSED*/ terminal_echotc(EditLine *el, int argc __attribute__((__unused__)), const wchar_t **argv) { diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c index 98ee27a8d4e..32a4850ba1b 100644 --- a/lib/libedit/tty.c +++ b/lib/libedit/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.27 2016/05/06 13:12:52 schwarze Exp $ */ +/* $OpenBSD: tty.c,v 1.28 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: tty.c,v 1.34 2011/01/27 23:11:40 christos Exp $ */ /*- @@ -580,7 +580,6 @@ tty_init(EditLine *el) * Restore the tty to its original settings */ protected void -/*ARGSUSED*/ tty_end(EditLine *el) { if (el->el_flags & EDIT_DISABLED) @@ -1144,7 +1143,6 @@ tty_noquotemode(EditLine *el) * Stty builtin */ protected int -/*ARGSUSED*/ tty_stty(EditLine *el, int argc __attribute__((__unused__)), const wchar_t **argv) { diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c index 2a3042e9561..355fd3516d8 100644 --- a/lib/libedit/vi.c +++ b/lib/libedit/vi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vi.c,v 1.28 2019/09/04 00:00:49 asou Exp $ */ +/* $OpenBSD: vi.c,v 1.29 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: vi.c,v 1.33 2011/02/17 16:44:48 joerg Exp $ */ /*- @@ -122,7 +122,6 @@ cv_paste(EditLine *el, wint_t c) * [p] */ protected el_action_t -/*ARGSUSED*/ vi_paste_next(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -135,7 +134,6 @@ vi_paste_next(EditLine *el, wint_t c __attribute__((__unused__))) * [P] */ protected el_action_t -/*ARGSUSED*/ vi_paste_prev(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -148,7 +146,6 @@ vi_paste_prev(EditLine *el, wint_t c __attribute__((__unused__))) * [B] */ protected el_action_t -/*ARGSUSED*/ vi_prev_big_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -173,7 +170,6 @@ vi_prev_big_word(EditLine *el, wint_t c __attribute__((__unused__))) * [b] */ protected el_action_t -/*ARGSUSED*/ vi_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -198,7 +194,6 @@ vi_prev_word(EditLine *el, wint_t c __attribute__((__unused__))) * [W] */ protected el_action_t -/*ARGSUSED*/ vi_next_big_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -222,7 +217,6 @@ vi_next_big_word(EditLine *el, wint_t c __attribute__((__unused__))) * [w] */ protected el_action_t -/*ARGSUSED*/ vi_next_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -277,7 +271,6 @@ vi_change_case(EditLine *el, wint_t c) * [c] */ protected el_action_t -/*ARGSUSED*/ vi_change_meta(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -294,7 +287,6 @@ vi_change_meta(EditLine *el, wint_t c __attribute__((__unused__))) * [I] */ protected el_action_t -/*ARGSUSED*/ vi_insert_at_bol(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -310,7 +302,6 @@ vi_insert_at_bol(EditLine *el, wint_t c __attribute__((__unused__))) * [r] */ protected el_action_t -/*ARGSUSED*/ vi_replace_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -329,7 +320,6 @@ vi_replace_char(EditLine *el, wint_t c __attribute__((__unused__))) * [R] */ protected el_action_t -/*ARGSUSED*/ vi_replace_mode(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -345,7 +335,6 @@ vi_replace_mode(EditLine *el, wint_t c __attribute__((__unused__))) * [s] */ protected el_action_t -/*ARGSUSED*/ vi_substitute_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -360,7 +349,6 @@ vi_substitute_char(EditLine *el, wint_t c __attribute__((__unused__))) * [S] */ protected el_action_t -/*ARGSUSED*/ vi_substitute_line(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -378,7 +366,6 @@ vi_substitute_line(EditLine *el, wint_t c __attribute__((__unused__))) * [C] */ protected el_action_t -/*ARGSUSED*/ vi_change_to_eol(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -396,7 +383,6 @@ vi_change_to_eol(EditLine *el, wint_t c __attribute__((__unused__))) * [i] */ protected el_action_t -/*ARGSUSED*/ vi_insert(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -411,7 +397,6 @@ vi_insert(EditLine *el, wint_t c __attribute__((__unused__))) * [a] */ protected el_action_t -/*ARGSUSED*/ vi_add(EditLine *el, wint_t c __attribute__((__unused__))) { int ret; @@ -436,7 +421,6 @@ vi_add(EditLine *el, wint_t c __attribute__((__unused__))) * [A] */ protected el_action_t -/*ARGSUSED*/ vi_add_at_eol(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -452,7 +436,6 @@ vi_add_at_eol(EditLine *el, wint_t c __attribute__((__unused__))) * [d] */ protected el_action_t -/*ARGSUSED*/ vi_delete_meta(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -465,7 +448,6 @@ vi_delete_meta(EditLine *el, wint_t c __attribute__((__unused__))) * [E] */ protected el_action_t -/*ARGSUSED*/ vi_end_big_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -489,7 +471,6 @@ vi_end_big_word(EditLine *el, wint_t c __attribute__((__unused__))) * [e] */ protected el_action_t -/*ARGSUSED*/ vi_end_word(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -513,7 +494,6 @@ vi_end_word(EditLine *el, wint_t c __attribute__((__unused__))) * [u] */ protected el_action_t -/*ARGSUSED*/ vi_undo(EditLine *el, wint_t c __attribute__((__unused__))) { c_undo_t un = el->el_chared.c_undo; @@ -540,7 +520,6 @@ vi_undo(EditLine *el, wint_t c __attribute__((__unused__))) * [] */ protected el_action_t -/*ARGSUSED*/ vi_command_mode(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -585,7 +564,6 @@ vi_zero(EditLine *el, wint_t c) * [^H] in insert mode only */ protected el_action_t -/*ARGSUSED*/ vi_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -603,7 +581,6 @@ vi_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) * [^D] */ protected el_action_t -/*ARGSUSED*/ vi_list_or_eof(EditLine *el, wint_t c) { @@ -640,7 +617,6 @@ vi_list_or_eof(EditLine *el, wint_t c) * [^U] */ protected el_action_t -/*ARGSUSED*/ vi_kill_line_prev(EditLine *el, wint_t c __attribute__((__unused__))) { wchar_t *kp, *cp; @@ -661,7 +637,6 @@ vi_kill_line_prev(EditLine *el, wint_t c __attribute__((__unused__))) * [?] */ protected el_action_t -/*ARGSUSED*/ vi_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -674,7 +649,6 @@ vi_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) * [/] */ protected el_action_t -/*ARGSUSED*/ vi_search_next(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -687,7 +661,6 @@ vi_search_next(EditLine *el, wint_t c __attribute__((__unused__))) * [n] */ protected el_action_t -/*ARGSUSED*/ vi_repeat_search_next(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -702,7 +675,6 @@ vi_repeat_search_next(EditLine *el, wint_t c __attribute__((__unused__))) * Vi repeat current search in the opposite search direction * [N] */ -/*ARGSUSED*/ protected el_action_t vi_repeat_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -721,7 +693,6 @@ vi_repeat_search_prev(EditLine *el, wint_t c __attribute__((__unused__))) * [f] */ protected el_action_t -/*ARGSUSED*/ vi_next_char(EditLine *el, wint_t c __attribute__((__unused__))) { return cv_csearch(el, CHAR_FWD, -1, el->el_state.argument, 0); @@ -733,7 +704,6 @@ vi_next_char(EditLine *el, wint_t c __attribute__((__unused__))) * [F] */ protected el_action_t -/*ARGSUSED*/ vi_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { return cv_csearch(el, CHAR_BACK, -1, el->el_state.argument, 0); @@ -745,7 +715,6 @@ vi_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) * [t] */ protected el_action_t -/*ARGSUSED*/ vi_to_next_char(EditLine *el, wint_t c __attribute__((__unused__))) { return cv_csearch(el, CHAR_FWD, -1, el->el_state.argument, 1); @@ -757,7 +726,6 @@ vi_to_next_char(EditLine *el, wint_t c __attribute__((__unused__))) * [T] */ protected el_action_t -/*ARGSUSED*/ vi_to_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { return cv_csearch(el, CHAR_BACK, -1, el->el_state.argument, 1); @@ -769,7 +737,6 @@ vi_to_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) * [;] */ protected el_action_t -/*ARGSUSED*/ vi_repeat_next_char(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -783,7 +750,6 @@ vi_repeat_next_char(EditLine *el, wint_t c __attribute__((__unused__))) * [,] */ protected el_action_t -/*ARGSUSED*/ vi_repeat_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) { el_action_t r; @@ -801,7 +767,6 @@ vi_repeat_prev_char(EditLine *el, wint_t c __attribute__((__unused__))) * [%] */ protected el_action_t -/*ARGSUSED*/ vi_match(EditLine *el, wint_t c __attribute__((__unused__))) { const wchar_t match_chars[] = L"()[]{}"; @@ -848,7 +813,6 @@ vi_match(EditLine *el, wint_t c __attribute__((__unused__))) * [U] */ protected el_action_t -/*ARGSUSED*/ vi_undo_line(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -862,7 +826,6 @@ vi_undo_line(EditLine *el, wint_t c __attribute__((__unused__))) * NB netbsd vi goes to screen column 'n', posix says nth character */ protected el_action_t -/*ARGSUSED*/ vi_to_column(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -876,7 +839,6 @@ vi_to_column(EditLine *el, wint_t c __attribute__((__unused__))) * [Y] */ protected el_action_t -/*ARGSUSED*/ vi_yank_end(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -890,7 +852,6 @@ vi_yank_end(EditLine *el, wint_t c __attribute__((__unused__))) * [y] */ protected el_action_t -/*ARGSUSED*/ vi_yank(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -902,7 +863,6 @@ vi_yank(EditLine *el, wint_t c __attribute__((__unused__))) * [#] */ protected el_action_t -/*ARGSUSED*/ vi_comment_out(EditLine *el, wint_t c __attribute__((__unused__))) { @@ -924,7 +884,6 @@ __weakref_visible char *my_get_alias_text(const char *) __weak_reference(get_alias_text); #endif protected el_action_t -/*ARGSUSED*/ vi_alias(EditLine *el, wint_t c __attribute__((__unused__))) { #ifdef __weak_reference @@ -954,7 +913,6 @@ vi_alias(EditLine *el, wint_t c __attribute__((__unused__))) * [G] */ protected el_action_t -/*ARGSUSED*/ vi_to_history_line(EditLine *el, wint_t c __attribute__((__unused__))) { int sv_event_no = el->el_history.eventno; @@ -999,7 +957,6 @@ vi_to_history_line(EditLine *el, wint_t c __attribute__((__unused__))) * [v] */ protected el_action_t -/*ARGSUSED*/ vi_histedit(EditLine *el, wint_t c __attribute__((__unused__))) { int fd; @@ -1088,7 +1045,6 @@ vi_histedit(EditLine *el, wint_t c __attribute__((__unused__))) * '_' in vi means 'entire current line', so 'cc' is a synonym for 'c_' */ protected el_action_t -/*ARGSUSED*/ vi_history_word(EditLine *el, wint_t c __attribute__((__unused__))) { const wchar_t *wp = HIST_FIRST(el); @@ -1138,7 +1094,6 @@ vi_history_word(EditLine *el, wint_t c __attribute__((__unused__))) * [.] */ protected el_action_t -/*ARGSUSED*/ vi_redo(EditLine *el, wint_t c __attribute__((__unused__))) { c_redo_t *r = &el->el_chared.c_redo; diff --git a/lib/libkvm/kvm_amd64.c b/lib/libkvm/kvm_amd64.c index bdffdbc4240..72582ab1751 100644 --- a/lib/libkvm/kvm_amd64.c +++ b/lib/libkvm/kvm_amd64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_amd64.c,v 1.15 2021/12/01 16:53:28 deraadt Exp $ */ +/* $OpenBSD: kvm_amd64.c,v 1.16 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: kvm_x86_64.c,v 1.3 2002/06/05 22:01:55 fvdl Exp $ */ /*- @@ -68,7 +68,6 @@ _kvm_freevtop(kvm_t *kd) kd->vmst = NULL; } -/*ARGSUSED*/ int _kvm_initvtop(kvm_t *kd) { diff --git a/lib/libkvm/kvm_powerpc.c b/lib/libkvm/kvm_powerpc.c index 070860209e1..cf67b1af97e 100644 --- a/lib/libkvm/kvm_powerpc.c +++ b/lib/libkvm/kvm_powerpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_powerpc.c,v 1.12 2021/12/01 21:45:19 deraadt Exp $ */ +/* $OpenBSD: kvm_powerpc.c,v 1.13 2023/03/08 04:43:05 guenther Exp $ */ /*- * Copyright (C) 1996 Wolfgang Solfrank. @@ -59,7 +59,6 @@ _kvm_freevtop(kvm_t *kd) kd->vmst = NULL; } -/*ARGSUSED*/ int _kvm_initvtop(kvm_t *kd) { @@ -67,7 +66,6 @@ _kvm_initvtop(kvm_t *kd) return (0); } -/*ARGSUSED*/ int _kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa) { @@ -75,7 +73,6 @@ _kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa) return (0); } -/*ARGSUSED*/ off_t _kvm_pa2off(kvm_t *kd, paddr_t pa) { diff --git a/lib/libpcap/pcap-bpf.c b/lib/libpcap/pcap-bpf.c index 4b43edf8018..1cf01849d9d 100644 --- a/lib/libpcap/pcap-bpf.c +++ b/lib/libpcap/pcap-bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcap-bpf.c,v 1.38 2021/09/10 00:00:55 deraadt Exp $ */ +/* $OpenBSD: pcap-bpf.c,v 1.39 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996, 1998 @@ -195,7 +195,6 @@ pcap_sendpacket(pcap_t *p, const u_char *buf, int size) return (pcap_inject(p, buf, size) == -1 ? -1 : 0); } -/* ARGSUSED */ static __inline int bpf_open(pcap_t *p) { diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c index a8068d09a2a..7be9a69f093 100644 --- a/lib/libskey/skeysubr.c +++ b/lib/libskey/skeysubr.c @@ -9,7 +9,7 @@ * * S/Key misc routines. * - * $OpenBSD: skeysubr.c,v 1.35 2019/01/25 00:19:26 millert Exp $ + * $OpenBSD: skeysubr.c,v 1.36 2023/03/08 04:43:05 guenther Exp $ */ #include @@ -214,7 +214,6 @@ readskey(char *buf, int n) } /* Signal handler for trapping ^C */ -/*ARGSUSED*/ static void trapped(int sig) { diff --git a/lib/libutil/imsg.c b/lib/libutil/imsg.c index b381b1edd47..8ca55d73196 100644 --- a/lib/libutil/imsg.c +++ b/lib/libutil/imsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg.c,v 1.17 2022/01/28 10:41:44 claudio Exp $ */ +/* $OpenBSD: imsg.c,v 1.18 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -206,7 +206,6 @@ imsg_composev(struct imsgbuf *ibuf, uint32_t type, uint32_t peerid, pid_t pid, return (1); } -/* ARGSUSED */ struct ibuf * imsg_create(struct imsgbuf *ibuf, uint32_t type, uint32_t peerid, pid_t pid, uint16_t datalen) diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 45007ac89dc..66f1c93dd8e 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comsat.c,v 1.50 2021/07/12 15:09:18 beck Exp $ */ +/* $OpenBSD: comsat.c,v 1.51 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 1980, 1993 @@ -154,7 +154,6 @@ main(int argc, char *argv[]) } } -/* ARGSUSED */ void reapchildren(int signo) { @@ -165,7 +164,6 @@ reapchildren(int signo) errno = save_errno; } -/* ARGSUSED */ void readutmp(int signo) { diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index cc2b6e9a08c..e85d7ccb72f 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpcmd.y,v 1.73 2021/05/31 16:18:01 jan Exp $ */ +/* $OpenBSD: ftpcmd.y,v 1.74 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */ /* @@ -1170,7 +1170,6 @@ get_line(char *s, int n) return (0); } -/*ARGSUSED*/ void toolong(int signo) { diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 6232c6ab700..810933525da 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.232 2021/05/23 17:01:21 jan Exp $ */ +/* $OpenBSD: ftpd.c,v 1.233 2023/03/08 04:43:05 guenther Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -608,7 +608,6 @@ main(int argc, char *argv[]) /* * Signal handlers. */ -/*ARGSUSED*/ static void lostconn(int signo) { @@ -1978,7 +1977,6 @@ nack(const char *s) reply(502, "%s command not implemented.", s); } -/* ARGSUSED */ void yyerror(char *s) { @@ -2157,7 +2155,6 @@ dologout(int status) _exit(status); } -/*ARGSUSED*/ static void sigurg(int signo) { @@ -2719,7 +2716,6 @@ out: } } -/*ARGSUSED*/ static void reapchild(int signo) { diff --git a/libexec/ftpd/monitor.c b/libexec/ftpd/monitor.c index 8d88c1ca634..65a4549c758 100644 --- a/libexec/ftpd/monitor.c +++ b/libexec/ftpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.30 2021/10/24 21:24:20 deraadt Exp $ */ +/* $OpenBSD: monitor.c,v 1.31 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 2004 Moritz Jodeit @@ -394,7 +394,6 @@ sig_pass_to_slave(int signo) errno = olderrno; } -/* ARGSUSED */ void sig_chld(int signo) { diff --git a/libexec/lockspool/lockspool.c b/libexec/lockspool/lockspool.c index 75c2be56c0c..879b4db389a 100644 --- a/libexec/lockspool/lockspool.c +++ b/libexec/lockspool/lockspool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockspool.c,v 1.22 2021/07/12 15:09:18 beck Exp $ */ +/* $OpenBSD: lockspool.c,v 1.23 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 1998 Theo de Raadt @@ -101,7 +101,6 @@ main(int argc, char *argv[]) exit (0); } -/*ARGSUSED*/ void unhold(int signo) { diff --git a/libexec/login_skey/login_skey.c b/libexec/login_skey/login_skey.c index f57f76ebc73..59b4f83c645 100644 --- a/libexec/login_skey/login_skey.c +++ b/libexec/login_skey/login_skey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login_skey.c,v 1.29 2021/01/02 20:32:20 millert Exp $ */ +/* $OpenBSD: login_skey.c,v 1.30 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 2000, 2001, 2004 Todd C. Miller @@ -237,7 +237,6 @@ main(int argc, char *argv[]) exit(1); } -/* ARGSUSED */ void quit(int signo) { @@ -245,7 +244,6 @@ quit(int signo) _exit(1); } -/* ARGSUSED */ void suspend(int signo) { diff --git a/libexec/rpc.rquotad/rquotad.c b/libexec/rpc.rquotad/rquotad.c index ec367df5253..e62abda5caf 100644 --- a/libexec/rpc.rquotad/rquotad.c +++ b/libexec/rpc.rquotad/rquotad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rquotad.c,v 1.24 2022/12/26 20:06:43 jmc Exp $ */ +/* $OpenBSD: rquotad.c,v 1.25 2023/03/08 04:43:05 guenther Exp $ */ /* * by Manuel Bouyer (bouyer@ensta.fr). Public domain. @@ -49,7 +49,6 @@ struct fs_stat *fs_begin = NULL; int from_inetd = 1; -/* ARGSUSED */ static void cleanup(int signo) { diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index c1f1d42eeca..2a7073491e6 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rstat_proc.c,v 1.37 2019/08/09 21:31:07 cheloha Exp $ */ +/* $OpenBSD: rstat_proc.c,v 1.38 2023/03/08 04:43:05 guenther Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -154,7 +154,6 @@ rstatproc_havedisk_1_svc(void *arg, struct svc_req *rqstp) return (rstatproc_havedisk_3_svc(arg, rqstp)); } -/* ARGSUSED */ void updatestatsig(int sig) { diff --git a/libexec/rpc.rstatd/rstatd.c b/libexec/rpc.rstatd/rstatd.c index a0f3811fe35..d282bf1de0f 100644 --- a/libexec/rpc.rstatd/rstatd.c +++ b/libexec/rpc.rstatd/rstatd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rstatd.c,v 1.30 2019/06/28 13:32:53 deraadt Exp $ */ +/* $OpenBSD: rstatd.c,v 1.31 2023/03/08 04:43:05 guenther Exp $ */ /*- * Copyright (c) 1993, John Brezak @@ -51,7 +51,6 @@ int closedown = 20; /* how long to wait before going dormant */ volatile sig_atomic_t gotsig; -/* ARGSUSED */ static void getsig(int signo) { diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c index 765119bcb84..86e3add2bab 100644 --- a/libexec/rpc.rusersd/rusersd.c +++ b/libexec/rpc.rusersd/rusersd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rusersd.c,v 1.23 2022/02/22 08:20:35 mestre Exp $ */ +/* $OpenBSD: rusersd.c,v 1.24 2023/03/08 04:43:06 guenther Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -49,7 +49,6 @@ extern void rusers_service(struct svc_req *, SVCXPRT *); int from_inetd = 1; int utmp_fd; -/* ARGSUSED */ static void cleanup(int signo) { diff --git a/libexec/snmpd/snmpd_metrics/kroute.c b/libexec/snmpd/snmpd_metrics/kroute.c index a42ff1030e8..32b44c2b131 100644 --- a/libexec/snmpd/snmpd_metrics/kroute.c +++ b/libexec/snmpd/snmpd_metrics/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.2 2022/12/26 20:06:43 jmc Exp $ */ +/* $OpenBSD: kroute.c,v 1.3 2023/03/08 04:43:06 guenther Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter @@ -1293,7 +1293,6 @@ fetcharp(struct ktable *kt) return (rv); } -/* ARGSUSED */ void dispatch_rtmsg(int fd, short event, void *arg) { diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c index 582e9a34587..b777c93cb29 100644 --- a/libexec/spamd/grey.c +++ b/libexec/spamd/grey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.c,v 1.66 2018/10/25 06:42:35 mestre Exp $ */ +/* $OpenBSD: grey.c,v 1.67 2023/03/08 04:43:06 guenther Exp $ */ /* * Copyright (c) 2004-2006 Bob Beck. All rights reserved. @@ -114,7 +114,6 @@ static char *pargv[11]= { }; /* If the parent gets a signal, kill off the children and exit */ -/* ARGSUSED */ static void sig_term_chld(int sig) { diff --git a/regress/sbin/ifconfig/ifaddr.c b/regress/sbin/ifconfig/ifaddr.c index 9d337157451..7f902f0f538 100644 --- a/regress/sbin/ifconfig/ifaddr.c +++ b/regress/sbin/ifconfig/ifaddr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifaddr.c,v 1.7 2023/01/31 20:37:16 tb Exp $ */ +/* $OpenBSD: ifaddr.c,v 1.8 2023/03/08 04:43:06 guenther Exp $ */ /* * This file has been copied from ifconfig and adapted to test @@ -680,7 +680,6 @@ printif(char *name, int ifaliases) #define MASK 2 #define DSTADDR 3 -/*ARGSUSED*/ void setifaddr(const char *addr, int param) { @@ -710,7 +709,6 @@ setifrtlabel(const char *label, int d) } #endif -/* ARGSUSED */ void setifnetmask(const char *addr, int ignored) { @@ -719,7 +717,6 @@ setifnetmask(const char *addr, int ignored) explicit_prefix = 1; } -/* ARGSUSED */ void setifbroadaddr(const char *addr, int ignored) { @@ -727,7 +724,6 @@ setifbroadaddr(const char *addr, int ignored) afp->af_getaddr(addr, DSTADDR); } -/* ARGSUSED */ void setifipdst(const char *addr, int ignored) { @@ -738,7 +734,6 @@ setifipdst(const char *addr, int ignored) } #define rqtosa(x) (&(((struct ifreq *)(afp->x))->ifr_addr)) -/*ARGSUSED*/ void notealias(const char *addr, int param) { @@ -753,7 +748,6 @@ notealias(const char *addr, int param) clearaddr = 0; } -/*ARGSUSED*/ void setifdstaddr(const char *addr, int param) { @@ -1022,7 +1016,6 @@ print_tunnel(const struct if_laddrreq *req) } } -/* ARGSUSED */ static void phys_status(int force) { @@ -1213,7 +1206,6 @@ status(int link, struct sockaddr_dl *sdl, int ls) phys_status(0); } -/* ARGSUSED */ void in_status(int force) { @@ -1281,7 +1273,6 @@ in_status(int force) putchar('\n'); } -/* ARGSUSED */ void setifprefixlen(const char *addr, int d) { @@ -1506,7 +1497,6 @@ settunneladdr(const char *addr, int ignored) freeaddrinfo(res); } -/* ARGSUSED */ void deletetunnel(const char *ignored, int alsoignored) { @@ -1640,7 +1630,6 @@ in_getaddr(const char *s, int which) } } -/* ARGSUSED */ void in_getprefix(const char *plen, int which) { diff --git a/regress/sys/kern/pledge/ioctl/unfdpass.c b/regress/sys/kern/pledge/ioctl/unfdpass.c index 6ff953278c5..ab1e309f448 100644 --- a/regress/sys/kern/pledge/ioctl/unfdpass.c +++ b/regress/sys/kern/pledge/ioctl/unfdpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unfdpass.c,v 1.3 2022/02/26 20:14:06 bluhm Exp $ */ +/* $OpenBSD: unfdpass.c,v 1.4 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: unfdpass.c,v 1.3 1998/06/24 23:51:30 thorpej Exp $ */ /*- @@ -61,7 +61,6 @@ int main(int, char *[]); void child(int, int); void catch_sigchld(int); -/* ARGSUSED */ int main(int argc, char *argv[]) { diff --git a/regress/sys/kern/unfdpass/unfdpass.c b/regress/sys/kern/unfdpass/unfdpass.c index 9a73641d72b..095935bbb3f 100644 --- a/regress/sys/kern/unfdpass/unfdpass.c +++ b/regress/sys/kern/unfdpass/unfdpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unfdpass.c,v 1.22 2021/12/13 16:56:50 deraadt Exp $ */ +/* $OpenBSD: unfdpass.c,v 1.23 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: unfdpass.c,v 1.3 1998/06/24 23:51:30 thorpej Exp $ */ /*- @@ -54,7 +54,6 @@ int main(int, char *[]); void child(int, int, int); void catch_sigchld(int); -/* ARGSUSED */ int main(int argc, char *argv[]) { diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c index ad8fa99520b..28bd7115d10 100644 --- a/sbin/dump/dumprmt.c +++ b/sbin/dump/dumprmt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dumprmt.c,v 1.31 2021/01/21 00:16:36 mortimer Exp $ */ +/* $OpenBSD: dumprmt.c,v 1.32 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: dumprmt.c,v 1.17 1997/06/05 16:10:47 mrg Exp $ */ /*- @@ -98,7 +98,6 @@ rmthost(char *host) return (1); } -/* ARGSUSED */ static void rmtconnaborted(int signo) { diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index 4548a5a8f14..43f11d58457 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: optr.c,v 1.40 2019/01/22 16:16:26 otto Exp $ */ +/* $OpenBSD: optr.c,v 1.41 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: optr.c,v 1.11 1997/05/27 08:34:36 mrg Exp $ */ /*- @@ -128,7 +128,6 @@ char lastmsg[BUFSIZ]; * sleep for 2 minutes in case nobody comes to satisfy dump * XXX not safe */ -/* ARGSUSED */ void alarmcatch(int signo) { @@ -158,7 +157,6 @@ alarmcatch(int signo) /* * Here if an inquisitive operator interrupts the dump program */ -/* ARGSUSED */ void interrupt(int signo) { diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index 3bedb451f81..835fd223835 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.47 2021/01/21 00:16:36 mortimer Exp $ */ +/* $OpenBSD: tape.c,v 1.48 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: tape.c,v 1.11 1997/06/05 11:13:26 lukem Exp $ */ /*- @@ -192,7 +192,6 @@ dumpblock(daddr_t blkno, int size) int nogripe = 0; -/* ARGSUSED */ void tperror(int signo) { @@ -216,7 +215,6 @@ tperror(int signo) Exit(X_REWRITE); } -/* ARGSUSED */ void sigpipe(int signo) { @@ -255,7 +253,6 @@ do_stats(void) * (derived from optr.c::timeest()) * XXX not safe */ -/* ARGSUSED */ void statussig(int signo) { @@ -698,7 +695,6 @@ restore_check_point: } } -/* ARGSUSED */ void dumpabort(int signo) { @@ -729,7 +725,6 @@ Exit(int status) /* * proceed - handler for SIGUSR2, used to synchronize IO between the slaves. */ -/* ARGSUSED */ void proceed(int signo) { diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c index 9ca48e38c8d..f03479e582d 100644 --- a/sbin/fsck_ext2fs/main.c +++ b/sbin/fsck_ext2fs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.29 2021/01/27 05:03:23 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.30 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */ /* @@ -188,7 +188,6 @@ argtoi(int flag, char *req, char *str, int base) /* * Check the specified filesystem. */ -/* ARGSUSED */ static int checkfilesys(char *filesys, char *mntpt, long auxdata, int child) { diff --git a/sbin/fsck_ext2fs/utilities.c b/sbin/fsck_ext2fs/utilities.c index 2a54c94e613..232c48d2e6d 100644 --- a/sbin/fsck_ext2fs/utilities.c +++ b/sbin/fsck_ext2fs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.28 2019/02/06 16:21:27 millert Exp $ */ +/* $OpenBSD: utilities.c,v 1.29 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: utilities.c,v 1.6 2001/02/04 21:19:34 christos Exp $ */ /* @@ -429,7 +429,6 @@ getpathname(char *namebuf, size_t buflen, ino_t curdir, ino_t ino) memmove(namebuf, cp, (size_t)(&namebuf[buflen] - cp)); } -/*ARGSUSED*/ void catch(int signo) { @@ -442,7 +441,6 @@ catch(int signo) * a special exit after filesystem checks complete * so that reboot sequence may be interrupted. */ -/*ARGSUSED*/ void catchquit(int signo) { @@ -459,7 +457,6 @@ catchquit(int signo) * Ignore a single quit signal; wait and flush just in case. * Used by child processes in preen. */ -/*ARGSUSED*/ void voidquit(int signo) { diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index d8c1a673d7e..a3978dbe1a9 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.53 2021/01/27 05:03:25 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.54 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -204,7 +204,6 @@ argtoi(int flag, char *req, char *str, int base) /* * Check the specified filesystem. */ -/* ARGSUSED */ int checkfilesys(char *filesys, char *mntpt, long auxdata, int child) { diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c index 130e18e4b15..a37aca6d1e5 100644 --- a/sbin/fsck_ffs/utilities.c +++ b/sbin/fsck_ffs/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.54 2020/07/13 06:52:53 otto Exp $ */ +/* $OpenBSD: utilities.c,v 1.55 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: utilities.c,v 1.18 1996/09/27 22:45:20 christos Exp $ */ /* @@ -551,7 +551,6 @@ getpathname(char *namebuf, size_t namebuflen, ino_t curdir, ino_t ino) memmove(namebuf, cp, (size_t)(&namebuf[PATH_MAX] - cp)); } -/*ARGSUSED*/ void catch(int signo) { @@ -564,7 +563,6 @@ catch(int signo) * a special exit after filesystem checks complete * so that reboot sequence may be interrupted. */ -/*ARGSUSED*/ void catchquit(int signo) { @@ -581,7 +579,6 @@ catchquit(int signo) * Ignore a single quit signal; wait and flush just in case. * Used by child processes in preen. */ -/*ARGSUSED*/ void voidquit(int signo) { @@ -634,7 +631,6 @@ dofix(struct inodesc *idesc, char *msg) int (* info_fn)(char *, size_t) = NULL; char *info_filesys = "?"; -/*ARGSUSED*/ void catchinfo(int signo) { diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index f16d1b74b29..6ce4d5a0ffa 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.461 2023/01/18 21:57:10 stsp Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.462 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -1240,7 +1240,6 @@ printif(char *name, int ifaliases) } } -/*ARGSUSED*/ void clone_create(const char *addr, int param) { @@ -1253,7 +1252,6 @@ clone_create(const char *addr, int param) err(1, "SIOCIFCREATE"); } -/*ARGSUSED*/ void clone_destroy(const char *addr, int param) { @@ -1319,7 +1317,6 @@ list_cloners(void) #define MASK 2 #define DSTADDR 3 -/*ARGSUSED*/ void setifaddr(const char *addr, int param) { @@ -1349,7 +1346,6 @@ setifrtlabel(const char *label, int d) } #endif -/* ARGSUSED */ void setifnetmask(const char *addr, int ignored) { @@ -1357,7 +1353,6 @@ setifnetmask(const char *addr, int ignored) explicit_prefix = 1; } -/* ARGSUSED */ void setifbroadaddr(const char *addr, int ignored) { @@ -1365,7 +1360,6 @@ setifbroadaddr(const char *addr, int ignored) } #ifndef SMALL -/* ARGSUSED */ void setifdesc(const char *val, int ignored) { @@ -1374,7 +1368,6 @@ setifdesc(const char *val, int ignored) warn("SIOCSIFDESCR"); } -/* ARGSUSED */ void unsetifdesc(const char *noval, int ignored) { @@ -1383,7 +1376,6 @@ unsetifdesc(const char *noval, int ignored) warn("SIOCSIFDESCR"); } -/* ARGSUSED */ void setifipdst(const char *addr, int ignored) { @@ -1395,7 +1387,6 @@ setifipdst(const char *addr, int ignored) #endif #define rqtosa(x) (&(((struct ifreq *)(afp->x))->ifr_addr)) -/*ARGSUSED*/ void notealias(const char *addr, int param) { @@ -1410,7 +1401,6 @@ notealias(const char *addr, int param) clearaddr = 0; } -/*ARGSUSED*/ void setifdstaddr(const char *addr, int param) { @@ -1424,7 +1414,6 @@ setifdstaddr(const char *addr, int param) * of the ifreq structure, which may confuse other parts of ifconfig. * Make a private copy so we can avoid that. */ -/* ARGSUSED */ void setifflags(const char *vname, int value) { @@ -1447,7 +1436,6 @@ setifflags(const char *vname, int value) err(1, "SIOCSIFFLAGS"); } -/* ARGSUSED */ void setifxflags(const char *vname, int value) { @@ -1608,7 +1596,6 @@ settemporary(const char *cmd, int val) } #ifndef SMALL -/* ARGSUSED */ void setifmetric(const char *val, int ignored) { @@ -1624,7 +1611,6 @@ setifmetric(const char *val, int ignored) } #endif -/* ARGSUSED */ void setifmtu(const char *val, int d) { @@ -1639,7 +1625,6 @@ setifmtu(const char *val, int d) warn("SIOCSIFMTU"); } -/* ARGSUSED */ void setifllprio(const char *val, int d) { @@ -1654,7 +1639,6 @@ setifllprio(const char *val, int d) warn("SIOCSIFLLPRIO"); } -/* ARGSUSED */ void setifgroup(const char *group_name, int dummy) { @@ -1679,7 +1663,6 @@ setifgroup(const char *group_name, int dummy) } } -/* ARGSUSED */ void unsetifgroup(const char *group_name, int dummy) { @@ -2035,7 +2018,6 @@ setifnwkey(const char *val, int d) err(1, "SIOCS80211NWKEY"); } -/* ARGSUSED */ void setifwpa(const char *val, int d) { @@ -2056,7 +2038,6 @@ setifwpa(const char *val, int d) err(1, "SIOCS80211WPAPARMS"); } -/* ARGSUSED */ void setifwpaprotos(const char *val, int d) { @@ -2097,7 +2078,6 @@ setifwpaprotos(const char *val, int d) err(1, "SIOCS80211WPAPARMS"); } -/* ARGSUSED */ void setifwpaakms(const char *val, int d) { @@ -2161,7 +2141,6 @@ getwpacipher(const char *name) return IEEE80211_WPA_CIPHER_NONE; } -/* ARGSUSED */ void setifwpaciphers(const char *val, int d) { @@ -2198,7 +2177,6 @@ setifwpaciphers(const char *val, int d) err(1, "SIOCS80211WPAPARMS"); } -/* ARGSUSED */ void setifwpagroupcipher(const char *val, int d) { @@ -2328,7 +2306,6 @@ setifchan(const char *val, int d) warn("SIOCS80211CHANNEL"); } -/* ARGSUSED */ void setifscan(const char *val, int d) { @@ -2372,7 +2349,6 @@ unsetifnwflag(const char *val, int d) setifnwflag(val, 1); } -/* ARGSUSED */ void setifpowersave(const char *val, int d) { @@ -2895,7 +2871,6 @@ process_media_commands(void) err(1, "SIOCSIFMEDIA"); } -/* ARGSUSED */ void setmedia(const char *val, int d) { @@ -2939,7 +2914,6 @@ setmedia(const char *val, int d) /* Media will be set after other processing is complete. */ } -/* ARGSUSED */ void setmediamode(const char *val, int d) { @@ -3002,7 +2976,6 @@ setmediaopt(const char *val, int d) /* Media will be set after other processing is complete. */ } -/* ARGSUSED */ void unsetmediaopt(const char *val, int d) { @@ -3027,7 +3000,6 @@ unsetmediaopt(const char *val, int d) /* Media will be set after other processing is complete. */ } -/* ARGSUSED */ void setmediainst(const char *val, int d) { @@ -3253,7 +3225,6 @@ print_tunnel(const struct if_laddrreq *req) } } -/* ARGSUSED */ static void phys_status(int force) { @@ -3528,7 +3499,6 @@ status(int link, struct sockaddr_dl *sdl, int ls, int ifaliases) #endif } -/* ARGSUSED */ void in_status(int force) { @@ -3589,7 +3559,6 @@ in_status(int force) putchar('\n'); } -/* ARGSUSED */ void setifprefixlen(const char *addr, int d) { @@ -3814,7 +3783,6 @@ settunneladdr(const char *addr, int ignored) freeaddrinfo(res); } -/* ARGSUSED */ void deletetunnel(const char *ignored, int alsoignored) { @@ -4021,7 +3989,6 @@ mpls_status(void) printf("\n"); } -/* ARGSUSED */ void setmplslabel(const char *val, int d) { @@ -4195,7 +4162,6 @@ setvnetid(const char *id, int param) warn("SIOCSVNETID"); } -/* ARGSUSED */ void delvnetid(const char *ignored, int alsoignored) { @@ -4244,7 +4210,6 @@ setifparent(const char *id, int param) warn("SIOCSIFPARENT"); } -/* ARGSUSED */ void delifparent(const char *ignored, int alsoignored) { @@ -4708,7 +4673,6 @@ carp_status(void) } } -/* ARGSUSED */ void setcarp_passwd(const char *val, int d) { @@ -4727,7 +4691,6 @@ setcarp_passwd(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarp_vhid(const char *val, int d) { @@ -4752,7 +4715,6 @@ setcarp_vhid(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarp_advskew(const char *val, int d) { @@ -4776,7 +4738,6 @@ setcarp_advskew(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarp_advbase(const char *val, int d) { @@ -4800,7 +4761,6 @@ setcarp_advbase(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarppeer(const char *val, int d) { @@ -4851,7 +4811,6 @@ unsetcarppeer(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarp_state(const char *val, int d) { @@ -4875,7 +4834,6 @@ setcarp_state(const char *val, int d) err(1, "SIOCSVH"); } -/* ARGSUSED */ void setcarpdev(const char *val, int d) { @@ -4979,7 +4937,6 @@ setpfsync_syncdev(const char *val, int d) err(1, "SIOCSETPFSYNC"); } -/* ARGSUSED */ void unsetpfsync_syncdev(const char *val, int d) { @@ -4997,7 +4954,6 @@ unsetpfsync_syncdev(const char *val, int d) err(1, "SIOCSETPFSYNC"); } -/* ARGSUSED */ void setpfsync_syncpeer(const char *val, int d) { @@ -5031,7 +4987,6 @@ setpfsync_syncpeer(const char *val, int d) freeaddrinfo(peerres); } -/* ARGSUSED */ void unsetpfsync_syncpeer(const char *val, int d) { @@ -5049,7 +5004,6 @@ unsetpfsync_syncpeer(const char *val, int d) err(1, "SIOCSETPFSYNC"); } -/* ARGSUSED */ void setpfsync_maxupd(const char *val, int d) { @@ -5394,7 +5348,6 @@ notime: putchar('\n'); } -/* ARGSUSED */ void setpppoe_dev(const char *val, int d) { @@ -5410,7 +5363,6 @@ setpppoe_dev(const char *val, int d) err(1, "PPPOESETPARMS"); } -/* ARGSUSED */ void setpppoe_svc(const char *val, int d) { @@ -5429,7 +5381,6 @@ setpppoe_svc(const char *val, int d) err(1, "PPPOESETPARMS"); } -/* ARGSUSED */ void setpppoe_ac(const char *val, int d) { @@ -6438,7 +6389,6 @@ in_getaddr(const char *s, int which) errx(1, "%s: non-contiguous mask", s); } -/* ARGSUSED */ void in_getprefix(const char *plen, int which) { @@ -6704,7 +6654,6 @@ sec2str(time_t total) return (result); } -/*ARGSUSED*/ void setiflladdr(const char *addr, int param) { diff --git a/sbin/iked/control.c b/sbin/iked/control.c index 32437fcb8aa..5b734703338 100644 --- a/sbin/iked/control.c +++ b/sbin/iked/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.36 2023/03/05 22:17:22 tobhe Exp $ */ +/* $OpenBSD: control.c,v 1.37 2023/03/08 04:43:06 guenther Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter @@ -152,7 +152,6 @@ control_listen(struct control_sock *cs) return (0); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { @@ -239,7 +238,6 @@ control_close(int fd, struct control_sock *cs) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *arg) { diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c index d0fa0da0b23..ccadee427b6 100644 --- a/sbin/isakmpd/isakmpd.c +++ b/sbin/isakmpd/isakmpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmpd.c,v 1.108 2022/12/04 23:50:46 cheloha Exp $ */ +/* $OpenBSD: isakmpd.c,v 1.109 2023/03/08 04:43:06 guenther Exp $ */ /* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */ /* @@ -226,7 +226,6 @@ parse_args(int argc, char *argv[]) pcap_file = PCAP_FILE_DEFAULT; } -/* ARGSUSED */ static void sighup(int sig) { @@ -335,7 +334,6 @@ daemon_shutdown(void) } /* Called on SIGTERM, SIGINT or by ui_shutdown_daemon(). */ -/* ARGSUSED */ void daemon_shutdown_now(int sig) { diff --git a/sbin/ldattach/ldattach.c b/sbin/ldattach/ldattach.c index 042f119cefa..bf0099bc6d6 100644 --- a/sbin/ldattach/ldattach.c +++ b/sbin/ldattach/ldattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldattach.c,v 1.18 2019/06/28 13:32:44 deraadt Exp $ */ +/* $OpenBSD: ldattach.c,v 1.19 2023/03/08 04:43:06 guenther Exp $ */ /* * Copyright (c) 2007, 2008 Marc Balmer @@ -332,7 +332,6 @@ bail_out: return 0; } -/* ARGSUSED */ void coroner(int useless) { diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c index a8de7941920..7a53d4f6ce2 100644 --- a/sbin/nfsd/nfsd.c +++ b/sbin/nfsd/nfsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsd.c,v 1.40 2020/01/22 06:24:08 tedu Exp $ */ +/* $OpenBSD: nfsd.c,v 1.41 2023/03/08 04:43:06 guenther Exp $ */ /* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */ /* @@ -329,7 +329,6 @@ usage(void) exit(1); } -/* ARGSUSED */ void nonfs(int signo) { @@ -340,7 +339,6 @@ nonfs(int signo) errno = save_errno; } -/* ARGSUSED */ void reapchild(int signo) { diff --git a/sbin/nologin/nologin.c b/sbin/nologin/nologin.c index 81973926888..ce9d76de9f6 100644 --- a/sbin/nologin/nologin.c +++ b/sbin/nologin/nologin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nologin.c,v 1.9 2021/07/12 15:09:19 beck Exp $ */ +/* $OpenBSD: nologin.c,v 1.10 2023/03/08 04:43:06 guenther Exp $ */ /* * Copyright (c) 1997, Jason Downs. All rights reserved. @@ -38,7 +38,6 @@ #define DEFAULT_MESG "This account is currently not available.\n" -/*ARGSUSED*/ int main(int argc, char *argv[]) { diff --git a/sbin/restore/restore.c b/sbin/restore/restore.c index 31498cd6785..a0ee9076dc3 100644 --- a/sbin/restore/restore.c +++ b/sbin/restore/restore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: restore.c,v 1.17 2013/04/24 13:46:29 deraadt Exp $ */ +/* $OpenBSD: restore.c,v 1.18 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: restore.c,v 1.9 1997/06/18 07:10:16 lukem Exp $ */ /* @@ -102,7 +102,6 @@ addfile(char *name, ino_t ino, int type) * This is used by the 'i' option to undo previous requests made by addfile. * Delete entries from the request queue. */ -/* ARGSUSED */ long deletefile(char *name, ino_t ino, int type) { diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 0e2c693cd2a..4288c79e1a6 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tape.c,v 1.52 2021/01/21 00:16:36 mortimer Exp $ */ +/* $OpenBSD: tape.c,v 1.53 2023/03/08 04:43:07 guenther Exp $ */ /* $NetBSD: tape.c,v 1.26 1997/04/15 07:12:25 lukem Exp $ */ /* @@ -743,7 +743,6 @@ xtrfile(char *buf, size_t size) /* * Skip over a hole in a file. */ -/* ARGSUSED */ static void xtrskip(char *buf, size_t size) { @@ -770,7 +769,6 @@ xtrlnkfile(char *buf, size_t size) /* * Skip over a hole in a symbolic link (should never happen). */ -/* ARGSUSED */ static void xtrlnkskip(char *buf, size_t size) { @@ -792,7 +790,6 @@ xtrmap(char *buf, size_t size) /* * Skip over a hole in a bit map (should never happen). */ -/* ARGSUSED */ static void xtrmapskip(char *buf, size_t size) { @@ -804,7 +801,6 @@ xtrmapskip(char *buf, size_t size) /* * Noop, when an extraction function is not needed. */ -/* ARGSUSED */ void xtrnull(char *buf, size_t size) { 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 * 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 @@ -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 @@ -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 @@ -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 @@ -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 * 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) { diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 4c7cbf6cb81..a3efa9769ba 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -1,4 +1,4 @@ -/* $OpenBSD: at.c,v 1.83 2019/11/29 03:12:35 cheloha Exp $ */ +/* $OpenBSD: at.c,v 1.84 2023/03/08 04:43:10 guenther Exp $ */ /* * at.c : Put file into atrun queue @@ -130,7 +130,6 @@ fatalx(const char *fmt, ...) exit(EXIT_FAILURE); } -/* ARGSUSED */ static void sigc(int signo) { diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y index 1f31cfffdec..01ef4245112 100644 --- a/usr.bin/bc/bc.y +++ b/usr.bin/bc/bc.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: bc.y,v 1.52 2020/06/30 14:27:02 otto Exp $ */ +/* $OpenBSD: bc.y,v 1.53 2023/03/08 04:43:10 guenther Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -1064,7 +1064,6 @@ escape(const char *str) return ret; } -/* ARGSUSED */ static void sigchld(int signo) { diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l index 037e95c7bd3..a9cd7506f9d 100644 --- a/usr.bin/bc/scan.l +++ b/usr.bin/bc/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.31 2021/08/09 19:13:56 otto Exp $ */ +/* $OpenBSD: scan.l,v 1.32 2023/03/08 04:43:10 guenther Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -233,7 +233,6 @@ add_str(const char *str) strlcat(strbuf, str, strbuf_sz); } -/* ARGSUSED */ void abort_line(int sig) { diff --git a/usr.bin/bc/tty.c b/usr.bin/bc/tty.c index 27242239f53..c48feab8146 100644 --- a/usr.bin/bc/tty.c +++ b/usr.bin/bc/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.4 2017/07/02 23:19:07 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.5 2023/03/08 04:43:10 guenther Exp $ */ /* * Copyright (c) 2013, Otto Moerbeek @@ -44,7 +44,6 @@ gettty(struct termios *t) return ret; } -/* ARGSUSED */ void tstpcont(int sig) { diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c index 17022323f45..aad52d9da52 100644 --- a/usr.bin/cdio/cdio.c +++ b/usr.bin/cdio/cdio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cdio.c,v 1.85 2022/12/22 19:53:22 kn Exp $ */ +/* $OpenBSD: cdio.c,v 1.86 2023/03/08 04:43:10 guenther Exp $ */ /* Copyright (c) 1995 Serge V. Vakulenko * All rights reserved. @@ -1025,7 +1025,6 @@ play_msf: return play_msf(m1, s1, f1, m2, s2, f2); } -/* ARGSUSED */ int play_prev(char *arg) { @@ -1050,7 +1049,6 @@ play_prev(char *arg) return (0); } -/* ARGSUSED */ int play_same(char *arg) { @@ -1070,7 +1068,6 @@ play_same(char *arg) return (0); } -/* ARGSUSED */ int play_next(char *arg) { @@ -1122,7 +1119,6 @@ strstatus(int sts) } } -/* ARGSUSED */ int pstatus(char *arg) { @@ -1210,7 +1206,6 @@ cdid(void) return id ? 0 : 1; } -/* ARGSUSED */ int info(char *arg) { diff --git a/usr.bin/chpass/chpass.c b/usr.bin/chpass/chpass.c index 15a1262f40e..d02209e5e0e 100644 --- a/usr.bin/chpass/chpass.c +++ b/usr.bin/chpass/chpass.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chpass.c,v 1.49 2022/12/04 23:50:47 cheloha Exp $ */ +/* $OpenBSD: chpass.c,v 1.50 2023/03/08 04:43:10 guenther Exp $ */ /* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */ /*- @@ -228,7 +228,6 @@ baduser(void) errx(1, "%s", strerror(EACCES)); } -/* ARGSUSED */ void kbintr(int signo) { diff --git a/usr.bin/chpass/field.c b/usr.bin/chpass/field.c index 90d98032e5e..0bf6e54adcc 100644 --- a/usr.bin/chpass/field.c +++ b/usr.bin/chpass/field.c @@ -1,4 +1,4 @@ -/* $OpenBSD: field.c,v 1.14 2015/01/16 06:40:06 deraadt Exp $ */ +/* $OpenBSD: field.c,v 1.15 2023/03/08 04:43:10 guenther Exp $ */ /* $NetBSD: field.c,v 1.3 1995/03/26 04:55:28 glass Exp $ */ /* @@ -44,7 +44,6 @@ #include "chpass.h" -/* ARGSUSED */ int p_login(char *p, struct passwd *pw, ENTRY *ep) { @@ -75,7 +74,6 @@ p_login(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_passwd(char *p, struct passwd *pw, ENTRY *ep) { @@ -89,7 +87,6 @@ p_passwd(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_uid(char *p, struct passwd *pw, ENTRY *ep) { @@ -109,7 +106,6 @@ p_uid(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_gid(char *p, struct passwd *pw, ENTRY *ep) { @@ -138,7 +134,6 @@ p_gid(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_class(char *p, struct passwd *pw, ENTRY *ep) { @@ -152,7 +147,6 @@ p_class(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_change(char *p, struct passwd *pw, ENTRY *ep) { @@ -162,7 +156,6 @@ p_change(char *p, struct passwd *pw, ENTRY *ep) return (1); } -/* ARGSUSED */ int p_expire(char *p, struct passwd *pw, ENTRY *ep) { @@ -172,7 +165,6 @@ p_expire(char *p, struct passwd *pw, ENTRY *ep) return (1); } -/* ARGSUSED */ int p_gecos(char *p, struct passwd *pw, ENTRY *ep) { @@ -185,7 +177,6 @@ p_gecos(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_hdir(char *p, struct passwd *pw, ENTRY *ep) { @@ -200,7 +191,6 @@ p_hdir(char *p, struct passwd *pw, ENTRY *ep) return (0); } -/* ARGSUSED */ int p_shell(char *p, struct passwd *pw, ENTRY *ep) { diff --git a/usr.bin/csplit/csplit.c b/usr.bin/csplit/csplit.c index a7a3b4b6dfd..9977743af95 100644 --- a/usr.bin/csplit/csplit.c +++ b/usr.bin/csplit/csplit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: csplit.c,v 1.11 2022/12/22 19:53:22 kn Exp $ */ +/* $OpenBSD: csplit.c,v 1.12 2023/03/08 04:43:10 guenther Exp $ */ /* $FreeBSD: src/usr.bin/csplit/csplit.c,v 1.9 2004/03/22 11:15:03 tjr Exp $ */ /*- @@ -219,7 +219,6 @@ usage(void) exit(1); } -/* ARGSUSED */ void handlesig(int sig) { diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c index 214ee40bee9..8c22a17c026 100644 --- a/usr.bin/cut/cut.c +++ b/usr.bin/cut/cut.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cut.c,v 1.27 2022/12/04 23:50:47 cheloha Exp $ */ +/* $OpenBSD: cut.c,v 1.28 2023/03/08 04:43:10 guenther Exp $ */ /* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */ /* @@ -227,7 +227,6 @@ get_list(char *list) memset(positions + 1, '1', autostart); } -/* ARGSUSED */ void b_cut(FILE *fp, char *fname) { diff --git a/usr.bin/cvs/date.y b/usr.bin/cvs/date.y index a3108c5deb0..23444e4b322 100644 --- a/usr.bin/cvs/date.y +++ b/usr.bin/cvs/date.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: date.y,v 1.26 2017/07/20 13:39:11 okan Exp $ */ +/* $OpenBSD: date.y,v 1.27 2023/03/08 04:43:10 guenther Exp $ */ /* ** Originally written by Steven M. Bellovin while @@ -866,7 +866,6 @@ date_parse(const char *p) } #if defined(TEST) -/* ARGSUSED */ int main(int argc, char **argv) { diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c index e1e9a7b64d5..63e4617d1d3 100644 --- a/usr.bin/dc/bcode.c +++ b/usr.bin/dc/bcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcode.c,v 1.62 2017/12/29 08:16:55 otto Exp $ */ +/* $OpenBSD: bcode.c,v 1.63 2023/03/08 04:43:10 guenther Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -216,7 +216,6 @@ static const struct jump_entry jump_table_data[] = { #define nitems(a) (sizeof((a)) / sizeof((a)[0])) #endif -/* ARGSUSED */ static void sighandler(int ignored) { diff --git a/usr.bin/dc/inout.c b/usr.bin/dc/inout.c index 5995f608b2f..72d97b30810 100644 --- a/usr.bin/dc/inout.c +++ b/usr.bin/dc/inout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inout.c,v 1.22 2021/11/10 04:39:16 tb Exp $ */ +/* $OpenBSD: inout.c,v 1.23 2023/03/08 04:43:10 guenther Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -81,7 +81,6 @@ src_ungetcharstream(struct source *src) (void)ungetc(src->lastchar, src->u.stream); } -/* ARGSUSED */ static void src_freestream(struct source *src) { diff --git a/usr.bin/deroff/deroff.c b/usr.bin/deroff/deroff.c index 452fda69b30..b4b560fa8d2 100644 --- a/usr.bin/deroff/deroff.c +++ b/usr.bin/deroff/deroff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: deroff.c,v 1.16 2023/02/17 18:00:35 miod Exp $ */ +/* $OpenBSD: deroff.c,v 1.17 2023/03/08 04:43:10 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -444,7 +444,6 @@ getfname(void) namechain = q; } -/*ARGSUSED*/ void textline(char *str, int constant) { diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 3401fd8918b..49a411fcc7a 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1,4 +1,4 @@ -/* $OpenBSD: function.c,v 1.52 2023/03/07 17:43:59 guenther Exp $ */ +/* $OpenBSD: function.c,v 1.53 2023/03/08 04:43:10 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -1406,7 +1406,6 @@ f_print(PLAN *plan, FTSENT *entry) return(1); } -/* ARGSUSED */ int f_print0(PLAN *plan, FTSENT *entry) { diff --git a/usr.bin/find/misc.c b/usr.bin/find/misc.c index b55890b93d8..a97087b9ad0 100644 --- a/usr.bin/find/misc.c +++ b/usr.bin/find/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.17 2020/09/30 16:37:12 deraadt Exp $ */ +/* $OpenBSD: misc.c,v 1.18 2023/03/08 04:43:11 guenther Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -142,7 +142,6 @@ ereallocarray(void *oldp, size_t sz1, size_t sz2) * show_path -- * called on SIGINFO */ -/* ARGSUSED */ void show_path(int signo) { diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index 7cd5609ef89..9daedea22e1 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.84 2019/11/18 04:37:35 deraadt Exp $ */ +/* $OpenBSD: cmds.c,v 1.85 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */ /* @@ -88,7 +88,6 @@ /* * Set ascii transfer type. */ -/*ARGSUSED*/ void setascii(int argc, char *argv[]) { @@ -100,7 +99,6 @@ setascii(int argc, char *argv[]) /* * Set file transfer mode. */ -/*ARGSUSED*/ void setftmode(int argc, char *argv[]) { @@ -112,7 +110,6 @@ setftmode(int argc, char *argv[]) /* * Set file transfer format. */ -/*ARGSUSED*/ void setform(int argc, char *argv[]) { @@ -124,7 +121,6 @@ setform(int argc, char *argv[]) /* * Set file transfer structure. */ -/*ARGSUSED*/ void setstruct(int argc, char *argv[]) { @@ -467,7 +463,6 @@ onoff(int bool) /* * Show status. */ -/*ARGSUSED*/ void status(int argc, char *argv[]) { @@ -552,7 +547,6 @@ togglevar(int argc, char *argv[], int *var, const char *mesg) /* * Set beep on cmd completed mode. */ -/*ARGSUSED*/ void setbell(int argc, char *argv[]) { @@ -563,7 +557,6 @@ setbell(int argc, char *argv[]) /* * Set command line editing */ -/*ARGSUSED*/ void setedit(int argc, char *argv[]) { @@ -575,7 +568,6 @@ setedit(int argc, char *argv[]) /* * Toggle use of IPv4 EPSV/EPRT */ -/*ARGSUSED*/ void setepsv4(int argc, char *argv[]) { @@ -587,7 +579,6 @@ setepsv4(int argc, char *argv[]) /* * Turn on packet tracing. */ -/*ARGSUSED*/ void settrace(int argc, char *argv[]) { @@ -598,7 +589,6 @@ settrace(int argc, char *argv[]) /* * Toggle hash mark printing during transfers, or set hash mark bytecount. */ -/*ARGSUSED*/ void sethash(int argc, char *argv[]) { @@ -636,7 +626,6 @@ sethash(int argc, char *argv[]) /* * Turn on printing of server echo's. */ -/*ARGSUSED*/ void setverbose(int argc, char *argv[]) { @@ -647,7 +636,6 @@ setverbose(int argc, char *argv[]) /* * Toggle PORT/LPRT cmd use before each data connection. */ -/*ARGSUSED*/ void setport(int argc, char *argv[]) { @@ -658,7 +646,6 @@ setport(int argc, char *argv[]) /* * Toggle transfer progress bar. */ -/*ARGSUSED*/ void setprogress(int argc, char *argv[]) { @@ -669,7 +656,6 @@ setprogress(int argc, char *argv[]) /* * Turn on interactive prompting during mget, mput, and mdelete. */ -/*ARGSUSED*/ void setprompt(int argc, char *argv[]) { @@ -680,7 +666,6 @@ setprompt(int argc, char *argv[]) /* * Toggle gate-ftp mode, or set gate-ftp server */ -/*ARGSUSED*/ void setgate(int argc, char *argv[]) { @@ -724,7 +709,6 @@ setgate(int argc, char *argv[]) /* * Toggle metacharacter interpretation on local file names. */ -/*ARGSUSED*/ void setglob(int argc, char *argv[]) { @@ -735,7 +719,6 @@ setglob(int argc, char *argv[]) /* * Toggle preserving modification times on retrieved files. */ -/*ARGSUSED*/ void setpreserve(int argc, char *argv[]) { @@ -746,7 +729,6 @@ setpreserve(int argc, char *argv[]) /* * Set debugging mode on/off and/or set level of debugging. */ -/*ARGSUSED*/ void setdebug(int argc, char *argv[]) { @@ -975,7 +957,6 @@ usage: /* * Do a shell escape */ -/*ARGSUSED*/ void shell(int argc, char *argv[]) { @@ -1083,7 +1064,6 @@ user(int argc, char *argv[]) /* * Print working directory on remote machine. */ -/*ARGSUSED*/ void pwd(int argc, char *argv[]) { @@ -1103,7 +1083,6 @@ pwd(int argc, char *argv[]) /* * Print working directory on local machine. */ -/* ARGSUSED */ void lpwd(int argc, char *argv[]) { @@ -1277,7 +1256,6 @@ rmthelp(int argc, char *argv[]) /* * Terminate session and exit. */ -/*ARGSUSED*/ void quit(int argc, char *argv[]) { @@ -1310,7 +1288,6 @@ account(int argc, char *argv[]) jmp_buf abortprox; -/* ARGSUSED */ void proxabort(int signo) { @@ -1478,7 +1455,6 @@ setrunique(int argc, char *argv[]) } /* change directory to parent directory */ -/* ARGSUSED */ void cdup(int argc, char *argv[]) { @@ -1521,7 +1497,6 @@ restart(int argc, char *argv[]) /* * Show remote system type */ -/* ARGSUSED */ void syst(int argc, char *argv[]) { diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index c817e6bfc7d..0ba7ad4d099 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fetch.c,v 1.213 2022/12/26 19:16:01 jmc Exp $ */ +/* $OpenBSD: fetch.c,v 1.214 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- @@ -1223,7 +1223,6 @@ save_chunked(FILE *fin, struct tls *tls, int out, char *buf, size_t buflen) /* * Abort a http retrieval */ -/* ARGSUSED */ static void aborthttp(int signo) { diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index 3ce5f7de02c..c6832ccea42 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp.c,v 1.108 2022/09/15 12:47:10 millert Exp $ */ +/* $OpenBSD: ftp.c,v 1.109 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */ /* @@ -298,7 +298,6 @@ bad: return (NULL); } -/* ARGSUSED */ void cmdabort(int signo) { @@ -557,7 +556,6 @@ getreply(int expecteof) #ifndef SMALL jmp_buf sendabort; -/* ARGSUSED */ void abortsend(int signo) { @@ -853,7 +851,6 @@ abort: jmp_buf recvabort; -/* ARGSUSED */ void abortrecv(int signo) { @@ -1702,7 +1699,6 @@ dataconn(const char *lmode) return (fdopen(data, lmode)); } -/* ARGSUSED */ void psummary(int signo) { @@ -1713,7 +1709,6 @@ psummary(int signo) errno = save_errno; } -/* ARGSUSED */ void psabort(int signo) { @@ -1809,7 +1804,6 @@ pswitch(int flag) } } -/* ARGSUSED */ void abortpt(int signo) { @@ -1945,7 +1939,6 @@ abort: } #ifndef SMALL -/* ARGSUSED */ void reset(int argc, char *argv[]) { @@ -2013,7 +2006,6 @@ gunique(const char *local) jmp_buf forceabort; -/* ARGSUSED */ static void abortforce(int signo) { diff --git a/usr.bin/ftp/small.c b/usr.bin/ftp/small.c index e7c4fd203f4..484d78f24a6 100644 --- a/usr.bin/ftp/small.c +++ b/usr.bin/ftp/small.c @@ -1,4 +1,4 @@ -/* $OpenBSD: small.c,v 1.12 2019/11/18 04:37:35 deraadt Exp $ */ +/* $OpenBSD: small.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */ /* @@ -186,7 +186,6 @@ char *stype[] = { /* * Set binary transfer type. */ -/*ARGSUSED*/ void setbinary(int argc, char *argv[]) { @@ -298,7 +297,6 @@ freegetit: } /* XXX - Signal race. */ -/* ARGSUSED */ void mabort(int signo) { @@ -508,7 +506,6 @@ cd(int argc, char *argv[]) /* * Terminate session, but don't exit. */ -/* ARGSUSED */ void disconnect(int argc, char *argv[]) { diff --git a/usr.bin/ftp/util.c b/usr.bin/ftp/util.c index 2759fab7ed9..e13db2ffe34 100644 --- a/usr.bin/ftp/util.c +++ b/usr.bin/ftp/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.97 2022/09/19 21:14:38 millert Exp $ */ +/* $OpenBSD: util.c,v 1.98 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */ /*- @@ -721,7 +721,6 @@ foregroundproc(void) ctty_pgrp == pgrp)); } -/* ARGSUSED */ static void updateprogressmeter(int signo) { @@ -1007,7 +1006,6 @@ list_vertical(StringList *sl) /* * Update the global ttywidth value, using TIOCGWINSZ. */ -/* ARGSUSED */ void setttywidth(int signo) { diff --git a/usr.bin/ipcrm/ipcrm.c b/usr.bin/ipcrm/ipcrm.c index 6aae87ac5ba..ca832ac9780 100644 --- a/usr.bin/ipcrm/ipcrm.c +++ b/usr.bin/ipcrm/ipcrm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipcrm.c,v 1.12 2015/07/26 22:17:34 chl Exp $*/ +/* $OpenBSD: ipcrm.c,v 1.13 2023/03/08 04:43:11 guenther Exp $*/ /* * Copyright (c) 1994 Adam Glass @@ -102,7 +102,6 @@ semrm(key_t key, int id) return (semctl(id, 0, IPC_RMID, arg)); } -/* ARGSUSED */ void not_configured(int signo) { diff --git a/usr.bin/ktrace/ktrace.c b/usr.bin/ktrace/ktrace.c index 8a4db886672..c49ecd58ded 100644 --- a/usr.bin/ktrace/ktrace.c +++ b/usr.bin/ktrace/ktrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ktrace.c,v 1.39 2022/02/22 17:35:01 deraadt Exp $ */ +/* $OpenBSD: ktrace.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */ /*- @@ -251,7 +251,6 @@ usage(void) exit(1); } -/* ARGSUSED */ static void no_ktrace(int signo) { diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 3d77d1a4a35..c87610f66b0 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login.c,v 1.73 2021/10/24 21:24:16 deraadt Exp $ */ +/* $OpenBSD: login.c,v 1.74 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */ /*- @@ -818,14 +818,12 @@ motd(void) (void)close(fd); } -/* ARGSUSED */ void sigint(int signo) { return; /* just interrupt syscall */ } -/* ARGSUSED */ void timedout(int signo) { diff --git a/usr.bin/mail/cmd3.c b/usr.bin/mail/cmd3.c index a1b8dbe5934..3cf968e4d05 100644 --- a/usr.bin/mail/cmd3.c +++ b/usr.bin/mail/cmd3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd3.c,v 1.29 2023/02/08 08:24:29 tb Exp $ */ +/* $OpenBSD: cmd3.c,v 1.30 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: cmd3.c,v 1.8 1997/07/09 05:29:49 mikel Exp $ */ /* @@ -68,7 +68,6 @@ shell(void *v) /* * Fork an interactive shell. */ -/*ARGSUSED*/ int dosh(void *v) { @@ -531,7 +530,6 @@ diction(const void *a, const void *b) /* * The do nothing command for comments. */ -/*ARGSUSED*/ int null(void *v) { diff --git a/usr.bin/mail/head.c b/usr.bin/mail/head.c index 3043e5c36db..67c7f4b9aa0 100644 --- a/usr.bin/mail/head.c +++ b/usr.bin/mail/head.c @@ -1,4 +1,4 @@ -/* $OpenBSD: head.c,v 1.12 2014/01/17 18:42:30 okan Exp $ */ +/* $OpenBSD: head.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: head.c,v 1.6 1996/12/28 07:11:03 tls Exp $ */ /* @@ -70,7 +70,6 @@ ishead(char *linebuf) return(1); } -/*ARGSUSED*/ void fail(char *linebuf, char *reason) { diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index 96935f61226..81db025b20b 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.42 2021/10/24 21:24:16 deraadt Exp $ */ +/* $OpenBSD: lex.c,v 1.43 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* @@ -682,7 +682,6 @@ newfileinfo(int omsgCount) /* * Print the current version number. */ -/*ARGSUSED*/ int pversion(void *v) { diff --git a/usr.bin/mail/popen.c b/usr.bin/mail/popen.c index d02a71863d7..51a1635d818 100644 --- a/usr.bin/mail/popen.c +++ b/usr.bin/mail/popen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: popen.c,v 1.39 2019/06/28 13:35:02 deraadt Exp $ */ +/* $OpenBSD: popen.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: popen.c,v 1.6 1997/05/13 06:48:42 mikel Exp $ */ /* @@ -336,7 +336,6 @@ delchild(struct child *cp) child_freelist = cp; } -/* ARGSUSED */ void sigchild(int signo) { diff --git a/usr.bin/mail/send.c b/usr.bin/mail/send.c index cbb96778028..9582675f9b8 100644 --- a/usr.bin/mail/send.c +++ b/usr.bin/mail/send.c @@ -1,4 +1,4 @@ -/* $OpenBSD: send.c,v 1.25 2019/03/19 13:26:27 millert Exp $ */ +/* $OpenBSD: send.c,v 1.26 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: send.c,v 1.6 1996/06/08 19:48:39 christos Exp $ */ /* @@ -567,7 +567,6 @@ fmt(char *str, struct name *np, FILE *fo, int comma) /* * Save the outgoing mail on the passed file. */ -/*ARGSUSED*/ int savemail(char *name, FILE *fi) { @@ -605,7 +604,6 @@ savemail(char *name, FILE *fi) return(0); } -/*ARGSUSED*/ void sendint(int s) { diff --git a/usr.bin/mail/tty.c b/usr.bin/mail/tty.c index 078801b9775..51f7ab7797b 100644 --- a/usr.bin/mail/tty.c +++ b/usr.bin/mail/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.22 2019/06/28 13:35:02 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.23 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $ */ /* @@ -281,7 +281,6 @@ ttystop(int s) errno = save_errno; } -/*ARGSUSED*/ void ttyint(int s) { diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 54dc5c8ad8c..b7dbe32e765 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $OpenBSD: job.c,v 1.163 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: job.c,v 1.164 2023/03/08 04:43:11 guenther Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -524,7 +524,6 @@ debug_kill_printf(const char *fmt, ...) * to ABORT_ERROR so no more jobs will be started. *----------------------------------------------------------------------- */ -/*ARGSUSED*/ static void postprocess_job(Job *job) diff --git a/usr.bin/mg/autoexec.c b/usr.bin/mg/autoexec.c index 1faf9e7ae01..922a63158bf 100644 --- a/usr.bin/mg/autoexec.c +++ b/usr.bin/mg/autoexec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoexec.c,v 1.18 2021/04/21 14:45:28 lum Exp $ */ +/* $OpenBSD: autoexec.c,v 1.19 2023/03/08 04:43:11 guenther Exp $ */ /* this file is in the public domain */ /* Author: Vincent Labrecque April 2002 */ @@ -93,7 +93,6 @@ add_autoexec(const char *pattern, const char *func) * function to execute when a file matching the specified pattern * is read into a buffer. */ -/* ARGSUSED */ int auto_execute(int f, int n) { diff --git a/usr.bin/mg/basic.c b/usr.bin/mg/basic.c index 3b92935f290..4a170480432 100644 --- a/usr.bin/mg/basic.c +++ b/usr.bin/mg/basic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: basic.c,v 1.51 2022/05/24 16:42:19 op Exp $ */ +/* $OpenBSD: basic.c,v 1.52 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain */ @@ -26,7 +26,6 @@ /* * Go to beginning of line. */ -/* ARGSUSED */ int gotobol(int f, int n) { @@ -43,7 +42,6 @@ gotobol(int f, int n) * 0. Error if you try to move back from * the beginning of the buffer. */ -/* ARGSUSED */ int backchar(int f, int n) { @@ -72,7 +70,6 @@ backchar(int f, int n) /* * Go to end of line. */ -/* ARGSUSED */ int gotoeol(int f, int n) { @@ -89,7 +86,6 @@ gotoeol(int f, int n) * 0. Error if you try to move forward * from the end of the buffer. */ -/* ARGSUSED */ int forwchar(int f, int n) { @@ -182,7 +178,6 @@ gotoeob(int f, int n) * actually do it. The last command controls how * the goal column is set. */ -/* ARGSUSED */ int forwline(int f, int n) { @@ -226,7 +221,6 @@ forwline(int f, int n) * call your alternate. Figure out the new line and * call "movedot" to perform the motion. */ -/* ARGSUSED */ int backline(int f, int n) { @@ -311,7 +305,6 @@ getgoal(struct line *dlp) * the window is zapped, we have to do a hard * update and get it back. */ -/* ARGSUSED */ int forwpage(int f, int n) { @@ -355,7 +348,6 @@ forwpage(int f, int n) * hard update is done because the top line in * the window is zapped. */ -/* ARGSUSED */ int backpage(int f, int n) { @@ -460,7 +452,6 @@ isetmark(void) * to the value of dot. A message is written to * the echo line. (ewprintf knows about macros) */ -/* ARGSUSED */ int setmark(int f, int n) { @@ -470,7 +461,6 @@ setmark(int f, int n) } /* Clear the mark, if set. */ -/* ARGSUSED */ int clearmark(int f, int n) { @@ -491,7 +481,6 @@ clearmark(int f, int n) * that moves the mark about. The only possible * error is "no mark". */ -/* ARGSUSED */ int swapmark(int f, int n) { @@ -521,7 +510,6 @@ swapmark(int f, int n) * it is the line number, else prompt for a line number * to use. */ -/* ARGSUSED */ int gotoline(int f, int n) { diff --git a/usr.bin/mg/bell.c b/usr.bin/mg/bell.c index ef7e93b8620..fcbd7c9e015 100644 --- a/usr.bin/mg/bell.c +++ b/usr.bin/mg/bell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bell.c,v 1.6 2021/05/06 12:44:21 lum Exp $ */ +/* $OpenBSD: bell.c,v 1.7 2023/03/08 04:43:11 guenther Exp $ */ /* * This file is in the public domain. @@ -65,7 +65,6 @@ dobeep(void) } } -/* ARGSUSED */ int toggleaudiblebell(int f, int n) { @@ -77,7 +76,6 @@ toggleaudiblebell(int f, int n) return (TRUE); } -/* ARGSUSED */ int togglevisiblebell(int f, int n) { diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c index 410d8ede0c2..e6605000475 100644 --- a/usr.bin/mg/buffer.c +++ b/usr.bin/mg/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.112 2021/03/26 15:02:10 lum Exp $ */ +/* $OpenBSD: buffer.c,v 1.113 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -29,7 +29,6 @@ static int usebufname(const char *); /* Flag for global working dir */ extern int globalwd; -/* ARGSUSED */ int togglereadonlyall(int f, int n) { @@ -51,7 +50,6 @@ togglereadonlyall(int f, int n) return (TRUE); } -/* ARGSUSED */ int togglereadonly(int f, int n) { @@ -102,7 +100,6 @@ usebufname(const char *bufp) * from some other window. *scratch* is the default alternate * buffer. */ -/* ARGSUSED */ int usebuffer(int f, int n) { @@ -124,7 +121,6 @@ usebuffer(int f, int n) /* * pop to buffer asked for by the user. */ -/* ARGSUSED */ int poptobuffer(int f, int n) { @@ -163,7 +159,6 @@ poptobuffer(int f, int n) * if the buffer has been changed). Then free the header * line and the buffer header. Bound to "C-x k". */ -/* ARGSUSED */ int killbuffer_cmd(int f, int n) { @@ -255,7 +250,6 @@ killbuffer(struct buffer *bp) /* * Save some buffers - just call anycb with the arg flag. */ -/* ARGSUSED */ int savebuffers(int f, int n) { @@ -302,7 +296,6 @@ static struct KEYMAPE (2) listbufmap = { * then pops the data onto the screen. Bound to * "C-x C-b". */ -/* ARGSUSED */ int listbuffers(int f, int n) { @@ -763,7 +756,6 @@ popbuf(struct buffer *bp, int flags) /* * Insert another buffer at dot. Very useful. */ -/* ARGSUSED */ int bufferinsert(int f, int n) { @@ -819,7 +811,6 @@ bufferinsert(int f, int n) /* * Turn off the dirty bit on this buffer. */ -/* ARGSUSED */ int notmodified(int f, int n) { @@ -919,7 +910,6 @@ checkdirty(struct buffer *bp) /* * Revert the current buffer to whatever is on disk. */ -/* ARGSUSED */ int revertbuffer(int f, int n) { @@ -975,7 +965,6 @@ dorevert(void) /* * Diff the current buffer to what is on disk. */ -/*ARGSUSED */ int diffbuffer(int f, int n) { diff --git a/usr.bin/mg/cscope.c b/usr.bin/mg/cscope.c index 92f086e1068..20140b7a279 100644 --- a/usr.bin/mg/cscope.c +++ b/usr.bin/mg/cscope.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cscope.c,v 1.21 2022/05/24 16:42:19 op Exp $ */ +/* $OpenBSD: cscope.c,v 1.22 2023/03/08 04:43:11 guenther Exp $ */ /* * This file is in the public domain. @@ -78,7 +78,6 @@ static const char *ltrim(const char *); /* * Find this symbol. Bound to C-c s s */ -/* ARGSUSED */ int cssymbol(int f, int n) { @@ -88,7 +87,7 @@ cssymbol(int f, int n) /* * Find this global definition. Bound to C-c s d */ -/* ARGSUSED */int +int csdefinition(int f, int n) { return (do_cscope(CSDEFINITION)); @@ -97,7 +96,6 @@ csdefinition(int f, int n) /* * Find functions called by this function. Bound to C-c s l */ -/* ARGSUSED */ int csfuncalled(int f, int n) { @@ -107,7 +105,6 @@ csfuncalled(int f, int n) /* * Find functions calling this function. Bound to C-c s c */ -/* ARGSUSED */ int cscallerfuncs(int f, int n) { @@ -117,7 +114,6 @@ cscallerfuncs(int f, int n) /* * Find this text. Bound to C-c s t */ -/* ARGSUSED */ int csfindtext(int f, int n) { @@ -127,7 +123,6 @@ csfindtext(int f, int n) /* * Find this egrep pattern. Bound to C-c s e */ -/* ARGSUSED */ int csegrep(int f, int n) { @@ -137,7 +132,6 @@ csegrep(int f, int n) /* * Find this file. Bound to C-c s f */ -/* ARGSUSED */ int csfindfile(int f, int n) { @@ -147,7 +141,6 @@ csfindfile(int f, int n) /* * Find files #including this file. Bound to C-c s i */ -/* ARGSUSED */ int csfindinc(int f, int n) { @@ -158,7 +151,6 @@ csfindinc(int f, int n) * Create list of files to index in the given directory * using cscope-indexer. */ -/* ARGSUSED */ int cscreatelist(int f, int n) { @@ -229,7 +221,6 @@ cscreatelist(int f, int n) /* * Next Symbol. Bound to C-c s n */ -/* ARGSUSED */ int csnextmatch(int f, int n) { @@ -263,7 +254,6 @@ csnextmatch(int f, int n) /* * Previous Symbol. Bound to C-c s p */ -/* ARGSUSED */ int csprevmatch(int f, int n) { diff --git a/usr.bin/mg/dir.c b/usr.bin/mg/dir.c index ee1981be076..417061df3b6 100644 --- a/usr.bin/mg/dir.c +++ b/usr.bin/mg/dir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dir.c,v 1.32 2022/01/28 06:18:41 guenther Exp $ */ +/* $OpenBSD: dir.c,v 1.33 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -36,7 +36,6 @@ dirinit(void) /* * Change current working directory. */ -/* ARGSUSED */ int changedir(int f, int n) { @@ -69,7 +68,6 @@ changedir(int f, int n) /* * Show current directory. */ -/* ARGSUSED */ int showcwdir(int f, int n) { @@ -87,7 +85,6 @@ getcwdir(char *buf, size_t len) } /* Create the directory and its parents. */ -/* ARGSUSED */ int makedir(int f, int n) { diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index 4537826009c..5cb747c3746 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.101 2022/10/15 17:01:14 op Exp $ */ +/* $OpenBSD: dired.c,v 1.102 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -228,7 +228,6 @@ dired_init(void) dobindkey(fundamental_map, "dired", "^Xd"); } -/* ARGSUSED */ int dired(int f, int n) { @@ -257,7 +256,6 @@ dired(int f, int n) return (showbuffer(bp, curwp, WFFULL | WFMODE)); } -/* ARGSUSED */ int d_otherwindow(int f, int n) { @@ -289,7 +287,6 @@ d_otherwindow(int f, int n) return (TRUE); } -/* ARGSUSED */ int d_del(int f, int n) { @@ -309,7 +306,6 @@ d_del(int f, int n) return (d_warpdot(curwp->w_dotp, &curwp->w_doto)); } -/* ARGSUSED */ int d_undel(int f, int n) { @@ -327,7 +323,6 @@ d_undel(int f, int n) return (d_warpdot(curwp->w_dotp, &curwp->w_doto)); } -/* ARGSUSED */ int d_undelbak(int f, int n) { @@ -345,7 +340,6 @@ d_undelbak(int f, int n) return (d_warpdot(curwp->w_dotp, &curwp->w_doto)); } -/* ARGSUSED */ int d_findfile(int f, int n) { @@ -369,7 +363,6 @@ d_findfile(int f, int n) return (readin(fname)); } -/* ARGSUSED */ int d_ffotherwindow(int f, int n) { @@ -391,7 +384,6 @@ d_ffotherwindow(int f, int n) return (readin(fname)); } -/* ARGSUSED */ int d_expunge(int f, int n) { @@ -448,7 +440,6 @@ d_expunge(int f, int n) return (TRUE); } -/* ARGSUSED */ int d_copy(int f, int n) { @@ -507,7 +498,6 @@ d_copy(int f, int n) return (showbuffer(bp, curwp, WFFULL | WFMODE)); } -/* ARGSUSED */ int d_rename(int f, int n) { @@ -567,7 +557,6 @@ d_rename(int f, int n) return (showbuffer(bp, curwp, WFFULL | WFMODE)); } -/* ARGSUSED */ void reaper(int signo __attribute__((unused))) { @@ -581,7 +570,6 @@ reaper(int signo __attribute__((unused))) /* * Pipe the currently selected file through a shell command. */ -/* ARGSUSED */ int d_shell_command(int f, int n) { @@ -730,7 +718,6 @@ out: return ret; } -/* ARGSUSED */ int d_create_directory(int f, int n) { @@ -747,7 +734,6 @@ d_create_directory(int f, int n) return (showbuffer(bp, curwp, WFFULL | WFMODE)); } -/* ARGSUSED */ int d_killbuffer_cmd(int f, int n) { diff --git a/usr.bin/mg/display.c b/usr.bin/mg/display.c index c699ccac811..1751b5ead13 100644 --- a/usr.bin/mg/display.c +++ b/usr.bin/mg/display.c @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.49 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: display.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -102,7 +102,6 @@ extern int globalwd; * Since we don't have variables (we probably should) these are command * processors for changing the values of mode flags. */ -/* ARGSUSED */ int linenotoggle(int f, int n) { @@ -116,7 +115,6 @@ linenotoggle(int f, int n) return (TRUE); } -/* ARGSUSED */ int colnotoggle(int f, int n) { diff --git a/usr.bin/mg/extend.c b/usr.bin/mg/extend.c index ba7fb4ff71c..9826f46324f 100644 --- a/usr.bin/mg/extend.c +++ b/usr.bin/mg/extend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: extend.c,v 1.76 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: extend.c,v 1.77 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ /* @@ -32,7 +32,6 @@ static int bindkey(KEYMAP **, const char *, KCHAR *, int); /* * Insert a string, mainly for use from macros (created by selfinsert). */ -/* ARGSUSED */ int insert(int f, int n) { @@ -461,7 +460,6 @@ dobindkey(KEYMAP *map, const char *func, const char *str) /* * This function modifies the fundamental keyboard map. */ -/* ARGSUSED */ int bindtokey(int f, int n) { @@ -471,7 +469,6 @@ bindtokey(int f, int n) /* * This function modifies the current mode's keyboard map. */ -/* ARGSUSED */ int localbind(int f, int n) { @@ -482,7 +479,6 @@ localbind(int f, int n) /* * This function redefines a key in any keymap. */ -/* ARGSUSED */ int redefine_key(int f, int n) { @@ -505,14 +501,12 @@ redefine_key(int f, int n) return (dobind(mp, buf, FALSE)); } -/* ARGSUSED */ int unbindtokey(int f, int n) { return (dobind(fundamental_map, "Global unset key: ", TRUE)); } -/* ARGSUSED */ int localunbind(int f, int n) { @@ -573,7 +567,6 @@ extend(int f, int n) * Use strlen for length of line, assume user is not typing in a '\0' in the * modeline. llen only used for foundparen() so old-school will be ok. */ -/* ARGSUSED */ int evalexpr(int f, int n) { @@ -594,7 +587,6 @@ evalexpr(int f, int n) * evalbuffer - evaluate the current buffer as line commands. Useful for * testing startup files. */ -/* ARGSUSED */ int evalbuffer(int f, int n) { @@ -625,7 +617,6 @@ evalbuffer(int f, int n) * evalfile - go get a file and evaluate it as line commands. You can * go get your own startup file if need be. */ -/* ARGSUSED */ int evalfile(int f, int n) { diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c index d6e0c8d2712..d710935930e 100644 --- a/usr.bin/mg/file.c +++ b/usr.bin/mg/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.102 2019/06/22 15:03:43 lum Exp $ */ +/* $OpenBSD: file.c,v 1.103 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -24,7 +24,6 @@ size_t xdirname(char *, const char *, size_t); * Insert a file into the current buffer. Real easy - just call the * insertfile routine with the file name. */ -/* ARGSUSED */ int fileinsert(int f, int n) { @@ -50,7 +49,6 @@ fileinsert(int f, int n) * if you can find it, just switch to the buffer. If you cannot find the * file, create a new buffer, read in the text, and switch to the new buffer. */ -/* ARGSUSED */ int filevisit(int f, int n) { @@ -90,7 +88,6 @@ filevisit(int f, int n) * buffer is killed before the switch. If the kill fails, or is aborted, * revert to the original file. */ -/* ARGSUSED */ int filevisitalt(int f, int n) { @@ -153,7 +150,6 @@ filevisitro(int f, int n) * Pop to a file in the other window. Same as the last function, but uses * popbuf instead of showbuffer. */ -/* ARGSUSED */ int poptofile(int f, int n) { @@ -506,7 +502,6 @@ cleanup: * This handling of file names is different from the earlier versions and * is more compatible with Gosling EMACS than with ITS EMACS. */ -/* ARGSUSED */ int filewrite(int f, int n) { @@ -567,7 +562,6 @@ filewrite(int f, int n) */ static int makebackup = TRUE; -/* ARGSUSED */ int filesave(int f, int n) { @@ -638,7 +632,6 @@ buffsave(struct buffer *bp) * is given, sets makebackup to true, so backups are made. If an argument is * given, no backup files are made when saving a new version of a file. */ -/* ARGSUSED */ int makebkfile(int f, int n) { diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c index 6f912d2e5cb..65a77d11ce1 100644 --- a/usr.bin/mg/fileio.c +++ b/usr.bin/mg/fileio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fileio.c,v 1.108 2021/03/01 10:51:14 lum Exp $ */ +/* $OpenBSD: fileio.c,v 1.109 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -136,7 +136,6 @@ ffwopen(FILE ** ffp, const char *fn, struct buffer *bp) /* * Close a file. */ -/* ARGSUSED */ int ffclose(FILE *ffp, struct buffer *bp) { diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c index 016256f64d0..aa7f9dfd87d 100644 --- a/usr.bin/mg/grep.c +++ b/usr.bin/mg/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.49 2021/03/01 10:51:14 lum Exp $ */ +/* $OpenBSD: grep.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain */ @@ -61,7 +61,6 @@ grep_init(void) maps_add((KEYMAP *)&compilemap, "compile"); } -/* ARGSUSED */ static int grep(int f, int n) { @@ -87,7 +86,6 @@ grep(int f, int n) return (TRUE); } -/* ARGSUSED */ int compile(int f, int n) { @@ -116,7 +114,6 @@ compile(int f, int n) } /* id-utils foo. */ -/* ARGSUSED */ static int gid(int f, int n) { @@ -253,7 +250,6 @@ compile_mode(const char *name, const char *command) return (bp); } -/* ARGSUSED */ static int compile_goto_error(int f, int n) { @@ -321,7 +317,6 @@ fail: return (FALSE); } -/* ARGSUSED */ int next_error(int f, int n) { @@ -347,7 +342,6 @@ next_error(int f, int n) * Since we don't have variables (we probably should) these are command * processors for changing the values of mode flags. */ -/* ARGSUSED */ int globalwdtoggle(int f, int n) { diff --git a/usr.bin/mg/help.c b/usr.bin/mg/help.c index 37d8a58979a..78b55f444c7 100644 --- a/usr.bin/mg/help.c +++ b/usr.bin/mg/help.c @@ -1,4 +1,4 @@ -/* $OpenBSD: help.c,v 1.36 2022/01/28 06:18:41 guenther Exp $ */ +/* $OpenBSD: help.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -24,7 +24,6 @@ static int findbind(KEYMAP *, PF, char *, size_t); * Read a key from the keyboard, and look it up in the keymap. * Display the name of the function currently bound to the key. */ -/* ARGSUSED */ int desckey(int f, int n) { @@ -99,7 +98,6 @@ found: * keys and their current bindings, and stores the table in the * *help* pop-up buffer. This lets Mg produce its own wall chart. */ -/* ARGSUSED */ int wallchart(int f, int n) { @@ -173,7 +171,6 @@ help_help(int f, int n) return ((*funct)(f, n)); } -/* ARGSUSED */ int apropos_command(int f, int n) { diff --git a/usr.bin/mg/kbd.c b/usr.bin/mg/kbd.c index c188b211526..3d3bc03d9dd 100644 --- a/usr.bin/mg/kbd.c +++ b/usr.bin/mg/kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd.c,v 1.36 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: kbd.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -254,7 +254,6 @@ universal_argument(int f, int n) } } -/* ARGSUSED */ int digit_argument(int f, int n) { diff --git a/usr.bin/mg/macro.c b/usr.bin/mg/macro.c index c05cb6a4351..50c6aba6165 100644 --- a/usr.bin/mg/macro.c +++ b/usr.bin/mg/macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macro.c,v 1.17 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: macro.c,v 1.18 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -24,7 +24,6 @@ struct line *maclcur; union macrodef macro[MAXMACRO]; -/* ARGSUSED */ int definemacro(int f, int n) { @@ -54,7 +53,6 @@ definemacro(int f, int n) return (macrodef = TRUE); } -/* ARGSUSED */ int finishmacro(int f, int n) { @@ -66,7 +64,6 @@ finishmacro(int f, int n) return (FALSE); } -/* ARGSUSED */ int executemacro(int f, int n) { diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c index 8aab7a75316..e98ecfc84af 100644 --- a/usr.bin/mg/main.c +++ b/usr.bin/mg/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.90 2021/05/03 12:18:43 lum Exp $ */ +/* $OpenBSD: main.c,v 1.91 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -304,7 +304,6 @@ pty_init(void) * Quit command. If an argument, always quit. Otherwise confirm if a buffer * has been changed and not written out. Normally bound to "C-x C-c". */ -/* ARGSUSED */ int quit(int f, int n) { @@ -327,7 +326,6 @@ quit(int f, int n) * User abort. Should be called by any input routine that sees a C-g to abort * whatever C-g is aborting these days. Currently does nothing. */ -/* ARGSUSED */ int ctrlg(int f, int n) { diff --git a/usr.bin/mg/paragraph.c b/usr.bin/mg/paragraph.c index 694fcc91a84..b49a488a041 100644 --- a/usr.bin/mg/paragraph.c +++ b/usr.bin/mg/paragraph.c @@ -1,4 +1,4 @@ -/* $OpenBSD: paragraph.c,v 1.46 2018/11/17 09:52:34 lum Exp $ */ +/* $OpenBSD: paragraph.c,v 1.47 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -30,7 +30,6 @@ static int do_gotoeop(int, int, int *); * preceding line. Keep doing this until a line with only spaces is found or * the start of buffer. */ -/* ARGSUSED */ int gotobop(int f, int n) { @@ -69,7 +68,6 @@ gotobop(int f, int n) * Move to end of paragraph. * See comments for gotobop(). Same, but moving forwards. */ -/* ARGSUSED */ int gotoeop(int f, int n) { @@ -126,7 +124,6 @@ do_gotoeop(int f, int n, int *i) * Justify a paragraph. Fill the current paragraph according to the current * fill column. */ -/* ARGSUSED */ int fillpara(int f, int n) { @@ -264,7 +261,6 @@ cleanup: * the cursor is on an empty line, move down the buffer to the first line with * non-space characters. Then mark n paragraphs and delete. */ -/* ARGSUSED */ int killpara(int f, int n) { @@ -298,7 +294,6 @@ killpara(int f, int n) * This leaves the cursor at the beginning of the paragraph where markpara() * was invoked. */ -/* ARGSUSED */ int markpara(int f, int n) { @@ -328,7 +323,6 @@ markpara(int f, int n) * multiple times, transpose to the n'th paragraph. If invoked between * paragraphs, move to the previous paragraph, then continue. */ -/* ARGSUSED */ int transposepara(int f, int n) { @@ -408,7 +402,6 @@ findpara(void) * Insert char with work wrap. Check to see if we're past fillcol, and if so, * justify this line. As a last step, justify the line. */ -/* ARGSUSED */ int fillword(int f, int n) { diff --git a/usr.bin/mg/re_search.c b/usr.bin/mg/re_search.c index eba9b03c3a6..81fb1dd2757 100644 --- a/usr.bin/mg/re_search.c +++ b/usr.bin/mg/re_search.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re_search.c,v 1.36 2021/04/22 19:50:55 lum Exp $ */ +/* $OpenBSD: re_search.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -51,7 +51,6 @@ static int countmatches(int); * found, move "." to just after the matched characters. display does all * the hard stuff. If not found, it just prints a message. */ -/* ARGSUSED */ int re_forwsearch(int f, int n) { @@ -75,7 +74,6 @@ re_forwsearch(int f, int n) * pointing at the first character of the pattern [the last character that * was matched]. */ -/* ARGSUSED */ int re_backsearch(int f, int n) { @@ -100,7 +98,6 @@ re_backsearch(int f, int n) * XXX: This code has problems -- some incompatibility(?) with extend.c causes * match to fail when it should not. */ -/* ARGSUSED */ int re_searchagain(int f, int n) { @@ -135,7 +132,6 @@ static regmatch_t regex_match[RE_NMATCH]; * Re-Query Replace. * Replace strings selectively. Does a search and replace operation. */ -/* ARGSUSED */ int re_queryrepl(int f, int n) { @@ -498,7 +494,6 @@ re_readpattern(char *re_prompt) * Cause case to not matter in searches. This is the default. If called * with argument cause case to matter. */ -/* ARGSUSED*/ int setcasefold(int f, int n) { @@ -521,7 +516,6 @@ setcasefold(int f, int n) /* * Delete all lines after dot that contain a string matching regex. */ -/* ARGSUSED */ int delmatchlines(int f, int n) { @@ -538,7 +532,6 @@ delmatchlines(int f, int n) /* * Delete all lines after dot that don't contain a string matching regex. */ -/* ARGSUSED */ int delnonmatchlines(int f, int n) { @@ -598,7 +591,6 @@ killmatches(int cond) /* * Count lines matching regex. */ -/* ARGSUSED */ int cntmatchlines(int f, int n) { @@ -614,7 +606,6 @@ cntmatchlines(int f, int n) /* * Count lines that fail to match regex. */ -/* ARGSUSED */ int cntnonmatchlines(int f, int n) { diff --git a/usr.bin/mg/region.c b/usr.bin/mg/region.c index 21c5174f52d..072ae89de80 100644 --- a/usr.bin/mg/region.c +++ b/usr.bin/mg/region.c @@ -1,4 +1,4 @@ -/* $OpenBSD: region.c,v 1.39 2021/03/01 10:51:14 lum Exp $ */ +/* $OpenBSD: region.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -39,7 +39,6 @@ static int shellcmdoutput(char * const[], char * const, int); * Kill the region. Ask "getregion" to figure out the bounds of the region. * Move "." to the start, and kill the characters. Mark is cleared afterwards. */ -/* ARGSUSED */ int killregion(int f, int n) { @@ -66,7 +65,6 @@ killregion(int f, int n) * clearing the mark afterwards. * This is a bit like a kill region followed by a yank. */ -/* ARGSUSED */ int copyregion(int f, int n) { @@ -112,7 +110,6 @@ copyregion(int f, int n) * the changes. Call "lchange" to ensure that redisplay is done in all * buffers. */ -/* ARGSUSED */ int lowerregion(int f, int n) { @@ -156,7 +153,6 @@ lowerregion(int f, int n) * doing the changes. Call "lchange" to ensure that redisplay is done in all * buffers. */ -/* ARGSUSED */ int upperregion(int f, int n) { @@ -285,7 +281,6 @@ static char prefix_string[PREFIXLENGTH] = {'>', '\0'}; * beginning of the line after the end of the region. If an argument is * given, prompts for the line prefix string. */ -/* ARGSUSED */ int prefixregion(int f, int n) { @@ -332,7 +327,6 @@ prefixregion(int f, int n) /* * Set line prefix string. Used by prefixregion. */ -/* ARGSUSED */ int setprefix(int f, int n) { @@ -414,7 +408,6 @@ markbuffer(int f, int n) /* * Pipe text from current region to external command. */ -/*ARGSUSED */ int piperegion(int f, int n) { @@ -458,7 +451,6 @@ piperegion(int f, int n) /* * Get command from mini-buffer and execute externally. */ -/*ARGSUSED */ int shellcommand(int f, int n) { diff --git a/usr.bin/mg/search.c b/usr.bin/mg/search.c index abba6b52598..a6926e04816 100644 --- a/usr.bin/mg/search.c +++ b/usr.bin/mg/search.c @@ -1,4 +1,4 @@ -/* $OpenBSD: search.c,v 1.49 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: search.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -56,7 +56,6 @@ int srch_lastdir = SRCH_NOPR; /* Last search flags. */ * characters, and display does all the hard stuff. If not found, it just * prints a message. */ -/* ARGSUSED */ int forwsearch(int f, int n) { @@ -79,7 +78,6 @@ forwsearch(int f, int n) * left pointing at the first character of the pattern [the last character * that was matched]. */ -/* ARGSUSED */ int backsearch(int f, int n) { @@ -101,7 +99,6 @@ backsearch(int f, int n) * search command. The direction has been saved in "srch_lastdir", so you * know which way to go. */ -/* ARGSUSED */ int searchagain(int f, int n) { @@ -130,7 +127,6 @@ searchagain(int f, int n) * Use incremental searching, initially in the forward direction. * isearch ignores any explicit arguments. */ -/* ARGSUSED */ int forwisearch(int f, int n) { @@ -145,7 +141,6 @@ forwisearch(int f, int n) * Use incremental searching, initially in the reverse direction. * isearch ignores any explicit arguments. */ -/* ARGSUSED */ int backisearch(int f, int n) { @@ -558,7 +553,6 @@ is_dspl(char *i_prompt, int flag) * Query Replace. * Replace strings selectively. Does a search and replace operation. */ -/* ARGSUSED */ int queryrepl(int f, int n) { @@ -640,7 +634,6 @@ stopsearch: /* * Replace string globally without individual prompting. */ -/* ARGSUSED */ int replstr(int f, int n) { diff --git a/usr.bin/mg/spawn.c b/usr.bin/mg/spawn.c index 3d9ee95aec5..ef6bbb8d72c 100644 --- a/usr.bin/mg/spawn.c +++ b/usr.bin/mg/spawn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spawn.c,v 1.12 2015/03/19 21:22:15 bcallah Exp $ */ +/* $OpenBSD: spawn.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -20,7 +20,6 @@ * shell supports POSIX job control. If the terminal supports an alternate * screen, we will switch to it. */ -/* ARGSUSED */ int spawncli(int f, int n) { diff --git a/usr.bin/mg/tags.c b/usr.bin/mg/tags.c index 7ca2ab1e773..f2976f9ac9b 100644 --- a/usr.bin/mg/tags.c +++ b/usr.bin/mg/tags.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tags.c,v 1.18 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: tags.c,v 1.19 2023/03/08 04:43:11 guenther Exp $ */ /* * This file is in the public domain. @@ -70,7 +70,6 @@ ctagcmp(struct ctag *s, struct ctag *t) * on first use. If a filename is already recorded, ask user to retain * already loaded tags (if any) and unload them if user chooses not to. */ -/* ARGSUSED */ int tagsvisit(int f, int n) { @@ -204,7 +203,6 @@ unloadtags(void) * buffername onto stack, load the file with tag definition into a new * buffer and position dot at the pattern. */ -/*ARGSUSED */ int pushtag(char *tok) { @@ -263,7 +261,6 @@ pushtag(char *tok) /* * If tag stack is not empty pop stack and jump to recorded buffer, dot. */ -/* ARGSUSED */ int poptag(int f, int n) { diff --git a/usr.bin/mg/tty.c b/usr.bin/mg/tty.c index 6522a240232..b939399da57 100644 --- a/usr.bin/mg/tty.c +++ b/usr.bin/mg/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.39 2021/03/20 09:00:49 lum Exp $ */ +/* $OpenBSD: tty.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -51,7 +51,6 @@ int tceeol; int tcinsl; int tcdell; -/* ARGSUSED */ static void winchhandler(int sig) { @@ -440,7 +439,6 @@ ttresize(void) /* * fake char output for charcost() */ -/* ARGSUSED */ static int fakec(int c) { diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c index 6e87d9cc632..8f427deae37 100644 --- a/usr.bin/mg/undo.c +++ b/usr.bin/mg/undo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: undo.c,v 1.58 2016/09/05 08:10:58 lum Exp $ */ +/* $OpenBSD: undo.c,v 1.59 2023/03/08 04:43:11 guenther Exp $ */ /* * This file is in the public domain */ @@ -381,7 +381,6 @@ undo_add_change(struct line *lp, int offset, int size) /* * Show the undo records for the current buffer in a new buffer. */ -/* ARGSUSED */ int undo_dump(int f, int n) { @@ -479,7 +478,6 @@ undo_dump(int f, int n) * two undo actions, we make it point back at the topmost record. This is * how we handle redoing. */ -/* ARGSUSED */ int undo(int f, int n) { diff --git a/usr.bin/mg/util.c b/usr.bin/mg/util.c index 06e71358fb0..5899b8a29b0 100644 --- a/usr.bin/mg/util.c +++ b/usr.bin/mg/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.44 2022/05/24 16:24:31 op Exp $ */ +/* $OpenBSD: util.c,v 1.45 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -27,7 +27,6 @@ * position display; it does not truncate just because the screen does. * This is normally bound to "C-x =". */ -/* ARGSUSED */ int showcpos(int f, int n) { @@ -126,7 +125,6 @@ getcolpos(struct mgwin *wp) * Normally bound to "C-t". This always works within a line, so "WFEDIT" * is good enough. */ -/* ARGSUSED */ int twiddle(int f, int n) { @@ -180,7 +178,6 @@ twiddle(int f, int n) * subcommand processors. They even handle the looping. Normally this * is bound to "C-o". */ -/* ARGSUSED */ int openline(int f, int n) { @@ -208,7 +205,6 @@ openline(int f, int n) /* * Insert a newline. */ -/* ARGSUSED */ int enewline(int f, int n) { @@ -232,7 +228,6 @@ enewline(int f, int n) * the line. Normally this command is bound to "C-x C-o". Any argument is * ignored. */ -/* ARGSUSED */ int deblank(int f, int n) { @@ -269,7 +264,6 @@ justone(int f, int n) /* * Delete any whitespace around dot. */ -/* ARGSUSED */ int delwhite(int f, int n) { @@ -352,7 +346,6 @@ deltrailwhite(int f, int n) * right number of tabs and spaces. Return TRUE if all ok. Return FALSE if * one of the subcommands failed. Normally bound to "C-m". */ -/* ARGSUSED */ int lfindent(int f, int n) { @@ -430,7 +423,6 @@ indent(int f, int n) * If any argument is present, it kills rather than deletes, to prevent loss * of text if typed with a big argument. Normally bound to "C-d". */ -/* ARGSUSED */ int forwdel(int f, int n) { @@ -452,7 +444,6 @@ forwdel(int f, int n) * other functions. Just move the cursor back, and delete forwards. Like * delete forward, this actually does a kill if presented with an argument. */ -/* ARGSUSED */ int backdel(int f, int n) { @@ -474,7 +465,6 @@ backdel(int f, int n) } #ifdef NOTAB -/* ARGSUSED */ int space_to_tabstop(int f, int n) { diff --git a/usr.bin/mg/version.c b/usr.bin/mg/version.c index b3af8701cda..e5f85cb9027 100644 --- a/usr.bin/mg/version.c +++ b/usr.bin/mg/version.c @@ -1,4 +1,4 @@ -/* $OpenBSD: version.c,v 1.10 2015/03/19 21:22:15 bcallah Exp $ */ +/* $OpenBSD: version.c,v 1.11 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -19,7 +19,6 @@ const char version[] = "Mg 2a"; * Display the version. All this does * is copy the version string onto the echo line. */ -/* ARGSUSED */ int showversion(int f, int n) { diff --git a/usr.bin/mg/window.c b/usr.bin/mg/window.c index ee61ca5ac01..e51c9f3979c 100644 --- a/usr.bin/mg/window.c +++ b/usr.bin/mg/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.36 2015/11/18 18:21:06 jasper Exp $ */ +/* $OpenBSD: window.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -42,7 +42,6 @@ new_window(struct buffer *bp) * bottom. If it is 0 the window is centered (this is what the standard * redisplay code does). */ -/* ARGSUSED */ int reposition(int f, int n) { @@ -72,7 +71,6 @@ redraw(int f, int n) return (do_redraw(f, n, FALSE)); } -/* ARGSUSED */ int do_redraw(int f, int n, int force) { @@ -108,7 +106,6 @@ do_redraw(int f, int n, int force) * window. There are no real errors, although the command does nothing if * there is only 1 window on the screen. */ -/* ARGSUSED */ int nextwind(int f, int n) { @@ -127,7 +124,6 @@ nextwind(int f, int n) * current window. There are no errors, although the command does not do * a lot if there is only 1 window. */ -/* ARGSUSED */ int prevwind(int f, int n) { @@ -151,7 +147,6 @@ prevwind(int f, int n) * structures right if the destruction of a window makes a buffer become * undisplayed. */ -/* ARGSUSED */ int onlywind(int f, int n) { @@ -206,7 +201,6 @@ onlywind(int f, int n) * structure for the new window. * If called with a FFOTHARG, flags on the new window are set to 'n'. */ -/* ARGSUSED */ int splitwind(int f, int n) { @@ -297,7 +291,6 @@ splitwind(int f, int n) * to do all the hard work. You don't just set "force reframe" because dot * would move. */ -/* ARGSUSED */ int enlargewind(int f, int n) { @@ -404,7 +397,6 @@ shrinkwind(int f, int n) * Delete current window. Call shrink-window to do the screen updating, then * throw away the window. */ -/* ARGSUSED */ int delwind(int f, int n) { diff --git a/usr.bin/mg/word.c b/usr.bin/mg/word.c index 99caf107249..2409bb433a4 100644 --- a/usr.bin/mg/word.c +++ b/usr.bin/mg/word.c @@ -1,4 +1,4 @@ -/* $OpenBSD: word.c,v 1.20 2022/12/26 19:16:02 jmc Exp $ */ +/* $OpenBSD: word.c,v 1.21 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -24,7 +24,6 @@ int grabword(char **); * Move the cursor backward by "n" words. All of the details of motion are * performed by the "backchar" and "forwchar" routines. */ -/* ARGSUSED */ int backword(int f, int n) { @@ -49,7 +48,6 @@ backword(int f, int n) * Move the cursor forward by the specified number of words. All of the * motion is done by "forwchar". */ -/* ARGSUSED */ int forwword(int f, int n) { @@ -227,7 +225,6 @@ grabword(char **word) * Move the cursor forward by the specified number of words. As you move, * convert any characters to upper case. */ -/* ARGSUSED */ int upperword(int f, int n) { @@ -270,7 +267,6 @@ upperword(int f, int n) * Move the cursor forward by the specified number of words. As you move * convert characters to lower case. */ -/* ARGSUSED */ int lowerword(int f, int n) { @@ -314,7 +310,6 @@ lowerword(int f, int n) * characters to lower case. Error if you try to move past the end of the * buffer. */ -/* ARGSUSED */ int capword(int f, int n) { @@ -393,7 +388,6 @@ out: /* * Kill forward by "n" words. */ -/* ARGSUSED */ int delfword(int f, int n) { @@ -450,7 +444,6 @@ out: * the first call to "backchar" special, but decided that that would just be * weird. Normally this is bound to "M-Rubout" and to "M-Backspace". */ -/* ARGSUSED */ int delbword(int f, int n) { diff --git a/usr.bin/mg/yank.c b/usr.bin/mg/yank.c index 2ada0edcbd4..c215efe288b 100644 --- a/usr.bin/mg/yank.c +++ b/usr.bin/mg/yank.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yank.c,v 1.15 2021/03/01 10:51:14 lum Exp $ */ +/* $OpenBSD: yank.c,v 1.16 2023/03/08 04:43:11 guenther Exp $ */ /* This file is in the public domain. */ @@ -148,7 +148,6 @@ kchunk(char *cp1, RSIZE chunk, int kflag) * it kills any text before dot on the current line, then it kills back * abs(arg) lines. */ -/* ARGSUSED */ int killline(int f, int n) { @@ -220,7 +219,6 @@ done: * bug associated with a yank when dot is on the top line of the window * (nothing moves, because all of the new text landed off screen). */ -/* ARGSUSED */ int yank(int f, int n) { diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index c51e158a5e6..c5571ea5ccd 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.80 2022/09/08 13:18:47 kn Exp $ */ +/* $OpenBSD: if.c,v 1.81 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */ /* @@ -442,7 +442,6 @@ loop: * Called if an interval expires before sidewaysintpr has completed a loop. * Sets a flag to not wait for the alarm. */ -/* ARGSUSED */ static void catchalarm(int signo) { diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c index 066167151ca..a79106c7743 100644 --- a/usr.bin/newsyslog/newsyslog.c +++ b/usr.bin/newsyslog/newsyslog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyslog.c,v 1.112 2019/06/28 13:35:02 deraadt Exp $ */ +/* $OpenBSD: newsyslog.c,v 1.113 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller @@ -1097,7 +1097,6 @@ cleanup: return (1); } -/* ARGSUSED */ void child_killer(int signo) { diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c index 4ad8b4de035..055087cc889 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsstat.c,v 1.37 2022/12/04 23:50:49 cheloha Exp $ */ +/* $OpenBSD: nfsstat.c,v 1.38 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */ /* @@ -414,7 +414,6 @@ printhdr(void) * Called if an interval expires before sidewaysintpr has completed a loop. * Sets a flag to not wait for the alarm. */ -/* ARGSUSED */ void catchalarm(int signo) { diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index 64b5a820a85..cfd07545661 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pr.c,v 1.44 2020/12/13 15:36:36 jmc Exp $ */ +/* $OpenBSD: pr.c,v 1.45 2023/03/08 04:43:12 guenther Exp $ */ /*- * Copyright (c) 1991 Keith Muller. @@ -1717,7 +1717,6 @@ prtail(int cnt, int incomp) /* * terminate(): when a SIGINT is recvd */ -/*ARGSUSED*/ void terminate(int which_sig) { diff --git a/usr.bin/rcs/date.y b/usr.bin/rcs/date.y index 20f5b78b588..80f2d8489a9 100644 --- a/usr.bin/rcs/date.y +++ b/usr.bin/rcs/date.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: date.y,v 1.14 2016/08/26 09:02:54 guenther Exp $ */ +/* $OpenBSD: date.y,v 1.15 2023/03/08 04:43:12 guenther Exp $ */ /* ** Originally written by Steven M. Bellovin while @@ -871,7 +871,6 @@ date_parse(const char *p) } #if defined(TEST) -/* ARGSUSED */ int main(int argc, char **argv) { diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 7927d3a7768..f68b3f1b694 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.163 2021/01/18 00:51:15 mortimer Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.164 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. @@ -67,7 +67,6 @@ struct wklhead temp_files; void sighdlr(int); static void rcs_attach_symbol(RCSFILE *, const char *); -/* ARGSUSED */ void sighdlr(int sig) { diff --git a/usr.bin/rpcgen/rpc_cout.c b/usr.bin/rpcgen/rpc_cout.c index 576fe67e2f6..33f4ce8825e 100644 --- a/usr.bin/rpcgen/rpc_cout.c +++ b/usr.bin/rpcgen/rpc_cout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc_cout.c,v 1.28 2016/12/22 16:42:55 krw Exp $ */ +/* $OpenBSD: rpc_cout.c,v 1.29 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: rpc_cout.c,v 1.6 1996/10/01 04:13:53 cgd Exp $ */ /* @@ -301,7 +301,6 @@ print_ifstat(indent, prefix, type, rel, amax, objname, name) print_ifclose(indent); } -/* ARGSUSED */ static void emit_enum(def) definition *def; diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c index dd0da89ba36..4fdf948c69a 100644 --- a/usr.bin/rpcinfo/rpcinfo.c +++ b/usr.bin/rpcinfo/rpcinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rpcinfo.c,v 1.15 2019/06/28 13:35:03 deraadt Exp $ */ +/* $OpenBSD: rpcinfo.c,v 1.16 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -543,7 +543,6 @@ pmapdump(int argc, char **argv) * to get a unique list of responses the output of rpcinfo should * be piped through sort(1) and then uniq(1). */ -/*ARGSUSED*/ bool_t reply_proc(caddr_t res, struct sockaddr_in *who) { diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index 2e2b852d596..1cebd3f2dfd 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2.c,v 1.165 2023/03/05 05:34:09 dtucker Exp $ */ +/* $OpenBSD: auth2.c,v 1.166 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -167,7 +167,6 @@ do_authentication2(struct ssh *ssh) ssh->authctxt = NULL; } -/*ARGSUSED*/ static int input_service_request(int type, u_int32_t seq, struct ssh *ssh) { @@ -245,7 +244,6 @@ ensure_minimum_time_since(double start, double seconds) nanosleep(&ts, NULL); } -/*ARGSUSED*/ static int input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) { diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 61b3144221b..66925524f77 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.389 2023/03/03 09:48:51 dtucker Exp $ */ +/* $OpenBSD: clientloop.c,v 1.390 2023/03/08 04:43:12 guenther Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -206,7 +206,6 @@ quit_message(const char *fmt, ...) * Signal handler for the window change signal (SIGWINCH). This just sets a * flag indicating that the window has changed. */ -/*ARGSUSED */ static void window_change_handler(int sig) { @@ -217,7 +216,6 @@ window_change_handler(int sig) * Signal handler for signals that cause the program to terminate. These * signals must be trapped to restore terminal modes. */ -/*ARGSUSED */ static void signal_handler(int sig) { diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c index 4997b024bb3..4a854cde114 100644 --- a/usr.bin/ssh/kex.c +++ b/usr.bin/ssh/kex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.c,v 1.176 2023/03/06 12:14:48 dtucker Exp $ */ +/* $OpenBSD: kex.c,v 1.177 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. * @@ -446,7 +446,6 @@ kex_prop_free(char **proposal) free(proposal); } -/* ARGSUSED */ int kex_protocol_error(int type, u_int32_t seq, struct ssh *ssh) { @@ -627,7 +626,6 @@ kex_send_kexinit(struct ssh *ssh) return 0; } -/* ARGSUSED */ int kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh) { diff --git a/usr.bin/ssh/mux.c b/usr.bin/ssh/mux.c index b59279a834e..7abb5aaef33 100644 --- a/usr.bin/ssh/mux.c +++ b/usr.bin/ssh/mux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mux.c,v 1.95 2023/01/06 02:39:59 djm Exp $ */ +/* $OpenBSD: mux.c,v 1.96 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller * @@ -173,7 +173,6 @@ static const struct { }; /* Cleanup callback fired on closure of mux client _session_ channel */ -/* ARGSUSED */ static void mux_master_session_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused) { @@ -195,7 +194,6 @@ mux_master_session_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused) } /* Cleanup callback fired on closure of mux client _control_ channel */ -/* ARGSUSED */ static void mux_master_control_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused) { diff --git a/usr.bin/ssh/progressmeter.c b/usr.bin/ssh/progressmeter.c index e32ad01263e..6b16e6f69da 100644 --- a/usr.bin/ssh/progressmeter.c +++ b/usr.bin/ssh/progressmeter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: progressmeter.c,v 1.51 2023/02/22 03:56:43 djm Exp $ */ +/* $OpenBSD: progressmeter.c,v 1.52 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2003 Nils Nordman. All rights reserved. * @@ -236,7 +236,6 @@ refresh_progress_meter(int force_update) free(obuf); } -/*ARGSUSED*/ static void sig_alarm(int ignore) { @@ -279,7 +278,6 @@ stop_progress_meter(void) atomicio(vwrite, STDOUT_FILENO, "\n", 1); } -/*ARGSUSED*/ static void sig_winch(int sig) { diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c index 0edc152d701..0c13f9b87ab 100644 --- a/usr.bin/ssh/serverloop.c +++ b/usr.bin/ssh/serverloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: serverloop.c,v 1.235 2023/03/05 05:34:09 dtucker Exp $ */ +/* $OpenBSD: serverloop.c,v 1.236 2023/03/08 04:43:12 guenther Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -106,14 +106,12 @@ bind_permitted(int port, uid_t uid) return 1; } -/*ARGSUSED*/ static void sigchld_handler(int sig) { child_terminated = 1; } -/*ARGSUSED*/ static void sigterm_handler(int sig) { diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c index 6d8123d69a9..6f8368be474 100644 --- a/usr.bin/ssh/sftp-client.c +++ b/usr.bin/ssh/sftp-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.c,v 1.168 2023/01/11 05:39:38 djm Exp $ */ +/* $OpenBSD: sftp-client.c,v 1.169 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -129,7 +129,6 @@ request_find(struct requests *requests, u_int id) return req; } -/* ARGSUSED */ static int sftpio(void *_bwlimit, size_t amount) { diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index 2cd3aa257a3..82005c75866 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.226 2023/02/27 22:12:40 dtucker Exp $ */ +/* $OpenBSD: sftp.c,v 1.227 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * @@ -196,7 +196,6 @@ static const struct CMD cmds[] = { { NULL, -1, -1, -1 } }; -/* ARGSUSED */ static void killchild(int signo) { @@ -211,7 +210,6 @@ killchild(int signo) _exit(1); } -/* ARGSUSED */ static void suspchild(int signo) { @@ -223,7 +221,6 @@ suspchild(int signo) kill(getpid(), SIGSTOP); } -/* ARGSUSED */ static void cmd_interrupt(int signo) { @@ -235,14 +232,12 @@ cmd_interrupt(int signo) errno = olderrno; } -/* ARGSUSED */ static void read_interrupt(int signo) { interrupted = 1; } -/*ARGSUSED*/ static void sigchld_handler(int sig) { diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 0e4d7f675ab..045543362ac 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.295 2023/03/05 05:34:09 dtucker Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.296 2023/03/08 04:43:12 guenther Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1947,7 +1947,6 @@ cleanup_exit(int i) _exit(i); } -/*ARGSUSED*/ static void cleanup_handler(int sig) { diff --git a/usr.bin/ssh/ssh-ecdsa-sk.c b/usr.bin/ssh/ssh-ecdsa-sk.c index 04b02e08dc4..15e993c440b 100644 --- a/usr.bin/ssh/ssh-ecdsa-sk.c +++ b/usr.bin/ssh/ssh-ecdsa-sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-ecdsa-sk.c,v 1.17 2022/10/28 00:44:44 djm Exp $ */ +/* $OpenBSD: ssh-ecdsa-sk.c,v 1.18 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2010 Damien Miller. All rights reserved. @@ -212,7 +212,6 @@ webauthn_check_prepare_hash(const u_char *data, size_t datalen, return r; } -/* ARGSUSED */ static int ssh_ecdsa_sk_verify(const struct sshkey *key, const u_char *sig, size_t siglen, diff --git a/usr.bin/ssh/ssh-ecdsa.c b/usr.bin/ssh/ssh-ecdsa.c index 5677396feb1..59ed0c84dcb 100644 --- a/usr.bin/ssh/ssh-ecdsa.c +++ b/usr.bin/ssh/ssh-ecdsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-ecdsa.c,v 1.25 2022/10/28 00:44:44 djm Exp $ */ +/* $OpenBSD: ssh-ecdsa.c,v 1.26 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2010 Damien Miller. All rights reserved. @@ -214,7 +214,6 @@ ssh_ecdsa_deserialize_private(const char *ktype, struct sshbuf *b, return r; } -/* ARGSUSED */ static int ssh_ecdsa_sign(struct sshkey *key, u_char **sigp, size_t *lenp, @@ -280,7 +279,6 @@ ssh_ecdsa_sign(struct sshkey *key, return ret; } -/* ARGSUSED */ static int ssh_ecdsa_verify(const struct sshkey *key, const u_char *sig, size_t siglen, diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 10275515298..ab8d57ce78d 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.364 2023/03/06 12:14:48 dtucker Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.365 2023/03/08 04:43:12 guenther Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2008 Damien Miller. All rights reserved. @@ -482,7 +482,6 @@ ssh_userauth2(struct ssh *ssh, const char *local_user, } } -/* ARGSUSED */ static int input_userauth_service_accept(int type, u_int32_t seq, struct ssh *ssh) { @@ -514,7 +513,6 @@ input_userauth_service_accept(int type, u_int32_t seq, struct ssh *ssh) return r; } -/* ARGSUSED */ static int input_userauth_ext_info(int type, u_int32_t seqnr, struct ssh *ssh) { @@ -559,7 +557,6 @@ userauth(struct ssh *ssh, char *authlist) } } -/* ARGSUSED */ static int input_userauth_error(int type, u_int32_t seq, struct ssh *ssh) { @@ -567,7 +564,6 @@ input_userauth_error(int type, u_int32_t seq, struct ssh *ssh) return 0; } -/* ARGSUSED */ static int input_userauth_banner(int type, u_int32_t seq, struct ssh *ssh) { @@ -587,7 +583,6 @@ input_userauth_banner(int type, u_int32_t seq, struct ssh *ssh) return r; } -/* ARGSUSED */ static int input_userauth_success(int type, u_int32_t seq, struct ssh *ssh) { @@ -620,7 +615,6 @@ input_userauth_success_unexpected(int type, u_int32_t seq, struct ssh *ssh) } #endif -/* ARGSUSED */ static int input_userauth_failure(int type, u_int32_t seq, struct ssh *ssh) { @@ -681,7 +675,6 @@ format_identity(Identity *id) return ret; } -/* ARGSUSED */ static int input_userauth_pk_ok(int type, u_int32_t seq, struct ssh *ssh) { @@ -889,7 +882,6 @@ process_gssapi_token(struct ssh *ssh, gss_buffer_t recv_tok) return status; } -/* ARGSUSED */ static int input_gssapi_response(int type, u_int32_t plen, struct ssh *ssh) { @@ -934,7 +926,6 @@ input_gssapi_response(int type, u_int32_t plen, struct ssh *ssh) return r; } -/* ARGSUSED */ static int input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) { @@ -967,7 +958,6 @@ input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) return r; } -/* ARGSUSED */ static int input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) { @@ -1002,7 +992,6 @@ input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) return 0; } -/* ARGSUSED */ static int input_gssapi_error(int type, u_int32_t plen, struct ssh *ssh) { @@ -1080,7 +1069,6 @@ userauth_passwd(struct ssh *ssh) /* * parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST */ -/* ARGSUSED */ static int input_userauth_passwd_changereq(int type, u_int32_t seqnr, struct ssh *ssh) { diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index e9219a3da14..df701f6bbec 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.599 2023/03/06 12:14:48 dtucker Exp $ */ +/* $OpenBSD: sshd.c,v 1.600 2023/03/08 04:43:12 guenther Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -270,7 +270,6 @@ close_startup_pipes(void) * the server key). */ -/*ARGSUSED*/ static void sighup_handler(int sig) { @@ -299,7 +298,6 @@ sighup_restart(void) /* * Generic signal handler for terminating signals in the master daemon. */ -/*ARGSUSED*/ static void sigterm_handler(int sig) { @@ -310,7 +308,6 @@ sigterm_handler(int sig) * SIGCHLD handler. This is called whenever a child dies. This will then * reap any zombies left by exited children. */ -/*ARGSUSED*/ static void main_sigchld_handler(int sig) { @@ -327,7 +324,6 @@ main_sigchld_handler(int sig) /* * Signal handler for the alarm after the login grace period has expired. */ -/*ARGSUSED*/ static void grace_alarm_handler(int sig) { diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index 9c32e68ec41..49a05d4fc3e 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.45 2022/10/04 08:03:26 kn Exp $ */ +/* $OpenBSD: main.c,v 1.46 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -296,14 +296,12 @@ modecmd(int argc, char *argv[]) return; } -/* ARGSUSED */ void setbinary(int argc, char *argv[]) { settftpmode("octet"); } -/* ARGSUSED */ void setascii(int argc, char *argv[]) { @@ -538,7 +536,6 @@ settimeout(int argc, char *argv[]) maxtimeout = t; } -/* ARGSUSED */ void status(int argc, char *argv[]) { @@ -552,7 +549,6 @@ status(int argc, char *argv[]) rexmtval, maxtimeout); } -/* ARGSUSED */ void intr(int signo) { @@ -672,7 +668,6 @@ makeargv(void) return (ret); } -/* ARGSUSED */ void quit(int argc, char *argv[]) { @@ -706,7 +701,6 @@ help(int argc, char *argv[]) } } -/* ARGSUSED */ void settrace(int argc, char *argv[]) { @@ -714,7 +708,6 @@ settrace(int argc, char *argv[]) printf("Packet tracing %s.\n", trace ? "on" : "off"); } -/* ARGSUSED */ void setverbose(int argc, char *argv[]) { @@ -722,7 +715,6 @@ setverbose(int argc, char *argv[]) printf("Verbose mode %s.\n", verbose ? "on" : "off"); } -/* ARGSUSED */ void settsize(int argc, char *argv[]) { @@ -734,7 +726,6 @@ settsize(int argc, char *argv[]) has_options--; } -/* ARGSUSED */ void settout(int argc, char *argv[]) { diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c index 227df4fdc2e..97972ca6065 100644 --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -1,4 +1,4 @@ -/* $OpenBSD: top.c,v 1.108 2022/12/16 15:54:27 cheloha Exp $ */ +/* $OpenBSD: top.c,v 1.109 2023/03/08 04:43:12 guenther Exp $ */ /* * Top users/processes display for Unix @@ -1095,28 +1095,24 @@ reset_display(void) } } -/* ARGSUSED */ void leave(int signo) { leaveflag = 1; } -/* ARGSUSED */ void tstop(int signo) { tstopflag = 1; } -/* ARGSUSED */ void sigwinch(int signo) { winchflag = 1; } -/* ARGSUSED */ void onalrm(int signo) { diff --git a/usr.bin/usbhidaction/usbhidaction.c b/usr.bin/usbhidaction/usbhidaction.c index bbfa8f641a8..2449e28ed64 100644 --- a/usr.bin/usbhidaction/usbhidaction.c +++ b/usr.bin/usbhidaction/usbhidaction.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbhidaction.c,v 1.26 2022/12/04 23:50:50 cheloha Exp $ */ +/* $OpenBSD: usbhidaction.c,v 1.27 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */ /* @@ -71,7 +71,6 @@ struct command *parse_conf(const char *, report_desc_t, int, int); void docmd(struct command *, int, const char *, int, char **); void freecommands(struct command *); -/* ARGSUSED */ static void sighup(int signo) { diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 3fe0f11f0c2..f6766c9942d 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wall.c,v 1.36 2022/05/05 10:04:24 bluhm Exp $ */ +/* $OpenBSD: wall.c,v 1.37 2023/03/08 04:43:12 guenther Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* @@ -74,7 +74,6 @@ int nobanner; int mbufsize; char *mbuf; -/* ARGSUSED */ int main(int argc, char **argv) { diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c index 54917ff2a44..226b03c219d 100644 --- a/usr.bin/what/what.c +++ b/usr.bin/what/what.c @@ -1,4 +1,4 @@ -/* $OpenBSD: what.c,v 1.16 2020/04/18 15:10:06 martijn Exp $ */ +/* $OpenBSD: what.c,v 1.17 2023/03/08 04:43:13 guenther Exp $ */ /* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */ /* @@ -50,7 +50,6 @@ extern char *__progname; /* * what */ -/* ARGSUSED */ int main(int argc, char *argv[]) { diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c index 06fa3796d2e..a41a1632485 100644 --- a/usr.sbin/apmd/apmd.c +++ b/usr.sbin/apmd/apmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apmd.c,v 1.110 2022/12/04 23:50:50 cheloha Exp $ */ +/* $OpenBSD: apmd.c,v 1.111 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 1995, 1996 John T. Kohl @@ -75,7 +75,6 @@ void do_etc_file(const char *file); void error(const char *fmt, const char *arg); void set_driver_messages(int fd, int mode); -/* ARGSUSED */ void sigexit(int signo) { diff --git a/usr.sbin/dvmrpd/control.c b/usr.sbin/dvmrpd/control.c index 3bc6db24c62..08516168db6 100644 --- a/usr.sbin/dvmrpd/control.c +++ b/usr.sbin/dvmrpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.24 2021/01/19 12:23:30 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.25 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -116,7 +116,6 @@ control_cleanup(void) unlink(DVMRPD_SOCKET); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *bula) { @@ -214,7 +213,6 @@ control_close(int fd) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *bula) { diff --git a/usr.sbin/eeprom/ophandlers.c b/usr.sbin/eeprom/ophandlers.c index 11b915176f6..d94b6e5af7b 100644 --- a/usr.sbin/eeprom/ophandlers.c +++ b/usr.sbin/eeprom/ophandlers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ophandlers.c,v 1.17 2022/01/12 22:49:53 tb Exp $ */ +/* $OpenBSD: ophandlers.c,v 1.18 2023/03/08 04:43:13 guenther Exp $ */ /* $NetBSD: ophandlers.c,v 1.2 1996/02/28 01:13:30 thorpej Exp $ */ /*- @@ -158,7 +158,6 @@ op_handler(char *keyword, char *arg) return (NULL); } -/* ARGSUSED */ static void op_notsupp(struct extabent *exent, struct opiocdesc *opiop, char *arg) { diff --git a/usr.sbin/eigrpd/control.c b/usr.sbin/eigrpd/control.c index 14e955df809..c825a4e5c3a 100644 --- a/usr.sbin/eigrpd/control.c +++ b/usr.sbin/eigrpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.9 2021/01/19 10:37:25 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.10 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -108,7 +108,6 @@ control_listen(void) return (0); } -/* ARGSUSED */ static void control_accept(int listenfd, short event, void *bula) { @@ -206,7 +205,6 @@ control_close(int fd) free(c); } -/* ARGSUSED */ static void control_dispatch_imsg(int fd, short event, void *bula) { diff --git a/usr.sbin/eigrpd/eigrpd.c b/usr.sbin/eigrpd/eigrpd.c index 648a4464f21..db169455c45 100644 --- a/usr.sbin/eigrpd/eigrpd.c +++ b/usr.sbin/eigrpd/eigrpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eigrpd.c,v 1.28 2021/01/19 10:53:25 claudio Exp $ */ +/* $OpenBSD: eigrpd.c,v 1.29 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -61,7 +61,6 @@ static struct imsgev *iev_rde; static pid_t eigrpe_pid; static pid_t rde_pid; -/* ARGSUSED */ static void main_sig_handler(int sig, short event, void *arg) { @@ -362,7 +361,6 @@ start_child(enum eigrpd_process p, char *argv0, int fd, int debug, int verbose, } /* imsg handling */ -/* ARGSUSED */ static void main_dispatch_eigrpe(int fd, short event, void *bula) { @@ -439,7 +437,6 @@ main_dispatch_eigrpe(int fd, short event, void *bula) } } -/* ARGSUSED */ static void main_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/eigrpd/eigrpe.c b/usr.sbin/eigrpd/eigrpe.c index 59d2a5c1b7d..ad5495df994 100644 --- a/usr.sbin/eigrpd/eigrpe.c +++ b/usr.sbin/eigrpd/eigrpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eigrpe.c,v 1.39 2021/01/19 10:53:25 claudio Exp $ */ +/* $OpenBSD: eigrpe.c,v 1.40 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -49,7 +49,6 @@ static struct event ev6; static struct imsgev *iev_main; static struct imsgev *iev_rde; -/* ARGSUSED */ static void eigrpe_sig_handler(int sig, short event, void *bula) { @@ -211,7 +210,6 @@ eigrpe_imsg_compose_rde(int type, uint32_t peerid, pid_t pid, data, datalen)); } -/* ARGSUSED */ static void eigrpe_dispatch_main(int fd, short event, void *bula) { @@ -386,7 +384,6 @@ eigrpe_dispatch_main(int fd, short event, void *bula) } } -/* ARGSUSED */ static void eigrpe_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/eigrpd/interface.c b/usr.sbin/eigrpd/interface.c index 438805e2edd..d395fc3a26c 100644 --- a/usr.sbin/eigrpd/interface.c +++ b/usr.sbin/eigrpd/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.25 2019/06/28 13:32:47 deraadt Exp $ */ +/* $OpenBSD: interface.c,v 1.26 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -435,7 +435,6 @@ eigrp_if_reset(struct eigrp_iface *ei) } /* timers */ -/* ARGSUSED */ static void eigrp_if_hello_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/eigrpd/kroute.c b/usr.sbin/eigrpd/kroute.c index 23eb6edbb8e..6dc041cd88e 100644 --- a/usr.sbin/eigrpd/kroute.c +++ b/usr.sbin/eigrpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.19 2022/12/28 21:30:16 jmc Exp $ */ +/* $OpenBSD: kroute.c,v 1.20 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -318,7 +318,6 @@ kr_fib_decouple(void) log_info("kernel routing table decoupled"); } -/* ARGSUSED */ static void kr_dispatch_msg(int fd, short event, void *bula) { diff --git a/usr.sbin/eigrpd/neighbor.c b/usr.sbin/eigrpd/neighbor.c index 2519273d2f3..711f0f8a15f 100644 --- a/usr.sbin/eigrpd/neighbor.c +++ b/usr.sbin/eigrpd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.10 2016/09/02 16:44:33 renato Exp $ */ +/* $OpenBSD: neighbor.c,v 1.11 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -232,7 +232,6 @@ nbr_clear_ctl(struct ctl_nbr *nctl) /* timers */ -/* ARGSUSED */ static void nbr_timeout(int fd, short event, void *arg) { diff --git a/usr.sbin/eigrpd/rde.c b/usr.sbin/eigrpd/rde.c index 0ee64719dd0..b14d967ba2d 100644 --- a/usr.sbin/eigrpd/rde.c +++ b/usr.sbin/eigrpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.24 2021/01/19 10:53:25 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.25 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -50,7 +50,6 @@ struct eigrpd_conf *rdeconf; static struct imsgev *iev_eigrpe; static struct imsgev *iev_main; -/* ARGSUSED */ static void rde_sig_handler(int sig, short event, void *arg) { @@ -161,7 +160,6 @@ rde_imsg_compose_eigrpe(int type, uint32_t peerid, pid_t pid, void *data, data, datalen)); } -/* ARGSUSED */ static void rde_dispatch_imsg(int fd, short event, void *bula) { @@ -295,7 +293,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) } } -/* ARGSUSED */ static void rde_dispatch_parent(int fd, short event, void *bula) { diff --git a/usr.sbin/eigrpd/rde_dual.c b/usr.sbin/eigrpd/rde_dual.c index 4b965bc5349..e12bf382f28 100644 --- a/usr.sbin/eigrpd/rde_dual.c +++ b/usr.sbin/eigrpd/rde_dual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_dual.c,v 1.30 2022/12/28 21:30:16 jmc Exp $ */ +/* $OpenBSD: rde_dual.c,v 1.31 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -483,7 +483,6 @@ reply_outstanding_remove(struct reply_node *reply) free(reply); } -/* ARGSUSED */ static void reply_active_timer(int fd, short event, void *arg) { @@ -516,7 +515,6 @@ reply_active_stop_timer(struct reply_node *reply) fatal("reply_active_stop_timer"); } -/* ARGSUSED */ static void reply_sia_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/eigrpd/rtp.c b/usr.sbin/eigrpd/rtp.c index 3a62ee9f4e0..cdc446b82a8 100644 --- a/usr.sbin/eigrpd/rtp.c +++ b/usr.sbin/eigrpd/rtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtp.c,v 1.7 2016/09/02 16:44:33 renato Exp $ */ +/* $OpenBSD: rtp.c,v 1.8 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -248,7 +248,6 @@ rtp_send_ack(struct nbr *nbr) /* timers */ -/* ARGSUSED */ static void rtp_retrans_timer(int fd, short event, void *arg) { @@ -286,7 +285,6 @@ rtp_retrans_stop_timer(struct packet *pkt) fatal("rtp_retrans_stop_timer"); } -/* ARGSUSED */ void rtp_ack_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/hostapd/hostapd.c b/usr.sbin/hostapd/hostapd.c index 0371693d013..b4982b8c040 100644 --- a/usr.sbin/hostapd/hostapd.c +++ b/usr.sbin/hostapd/hostapd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hostapd.c,v 1.41 2019/07/03 03:24:03 deraadt Exp $ */ +/* $OpenBSD: hostapd.c,v 1.42 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter @@ -291,7 +291,6 @@ hostapd_udp_init(struct hostapd_config *cfg) } } -/* ARGSUSED */ void hostapd_sig_handler(int sig, short event, void *arg) { diff --git a/usr.sbin/hostapd/privsep.c b/usr.sbin/hostapd/privsep.c index 83de6d8a468..cc7d935bb70 100644 --- a/usr.sbin/hostapd/privsep.c +++ b/usr.sbin/hostapd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.27 2019/06/28 13:32:47 deraadt Exp $ */ +/* $OpenBSD: privsep.c,v 1.28 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter @@ -456,7 +456,6 @@ hostapd_priv_roaming(struct hostapd_apme *apme, struct hostapd_node *node, /* * If priv parent gets a TERM or HUP, pass it through to child instead. */ -/* ARGSUSED */ void hostapd_sig_relay(int sig, short event, void *arg) { @@ -469,7 +468,6 @@ hostapd_sig_relay(int sig, short event, void *arg) errno = oerrno; } -/* ARGSUSED */ void hostapd_sig_chld(int sig, short event, void *arg) { diff --git a/usr.sbin/hotplugd/hotplugd.c b/usr.sbin/hotplugd/hotplugd.c index df93ff77897..b5d70356697 100644 --- a/usr.sbin/hotplugd/hotplugd.c +++ b/usr.sbin/hotplugd/hotplugd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hotplugd.c,v 1.18 2022/12/04 23:50:50 cheloha Exp $ */ +/* $OpenBSD: hotplugd.c,v 1.19 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko * @@ -173,7 +173,6 @@ exec_script(const char *file, int class, char *name) } } -/* ARGSUSED */ void sigchild(int signum) { @@ -211,7 +210,6 @@ sigchild(int signum) errno = saved_errno; } -/* ARGSUSED */ void sigquit(int signum) { diff --git a/usr.sbin/httpd/control.c b/usr.sbin/httpd/control.c index d282a85a316..9a6a9b9b523 100644 --- a/usr.sbin/httpd/control.c +++ b/usr.sbin/httpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.14 2021/04/20 21:11:56 dv Exp $ */ +/* $OpenBSD: control.c,v 1.15 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -127,7 +127,6 @@ control_cleanup(struct control_sock *cs) event_del(&cs->cs_evt); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { @@ -214,7 +213,6 @@ control_close(int fd, struct control_sock *cs) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *arg) { diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index 0afbe0b6e76..715d039549d 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iostat.c,v 1.46 2022/12/28 20:56:37 cheloha Exp $ */ +/* $OpenBSD: iostat.c,v 1.47 2023/03/08 04:43:13 guenther Exp $ */ /* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */ /* @@ -214,7 +214,6 @@ sigalarm(int signo) { } -/*ARGSUSED*/ static void sigheader(int signo) { diff --git a/usr.sbin/iscsid/control.c b/usr.sbin/iscsid/control.c index de090ed5412..aba16ff9e35 100644 --- a/usr.sbin/iscsid/control.c +++ b/usr.sbin/iscsid/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.10 2016/09/10 05:42:12 jsg Exp $ */ +/* $OpenBSD: control.c,v 1.11 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2010 Claudio Jeker @@ -135,7 +135,6 @@ control_event_init(void) evtimer_set(&control_state->evt, control_accept, NULL); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *bula) { @@ -196,7 +195,6 @@ control_close(struct control *c) static char cbuf[CONTROL_READ_SIZE]; -/* ARGSUSED */ void control_dispatch(int fd, short event, void *bula) { diff --git a/usr.sbin/iscsid/session.c b/usr.sbin/iscsid/session.c index 60ff190b027..f38ab2993b6 100644 --- a/usr.sbin/iscsid/session.c +++ b/usr.sbin/iscsid/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.8 2015/12/05 06:37:24 mmcc Exp $ */ +/* $OpenBSD: session.c,v 1.9 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2011 Claudio Jeker @@ -246,7 +246,6 @@ struct { { 0, 0, NULL } }; -/* ARGSUSED */ void session_fsm_callback(int fd, short event, void *arg) { diff --git a/usr.sbin/ldapd/control.c b/usr.sbin/ldapd/control.c index ffeb80bf4c3..2a988e6eb4c 100644 --- a/usr.sbin/ldapd/control.c +++ b/usr.sbin/ldapd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.17 2021/04/20 21:11:56 dv Exp $ */ +/* $OpenBSD: control.c,v 1.18 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 2010 Martin Hedenfalk @@ -117,7 +117,6 @@ control_cleanup(struct control_sock *cs) event_del(&cs->cs_evt); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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) { diff --git a/usr.sbin/mopd/common/pf.c b/usr.sbin/mopd/common/pf.c index 7bcf73d426c..df8766d6818 100644 --- a/usr.sbin/mopd/common/pf.c +++ b/usr.sbin/mopd/common/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.18 2018/04/26 12:42:51 guenther Exp $ */ +/* $OpenBSD: pf.c,v 1.19 2023/03/08 04:43:13 guenther Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -63,7 +63,6 @@ extern int promisc; * In this case the driver can handle both Ethernet type II and * IEEE 802.3 frames (SNAP) in a single pfOpen. */ -/* ARGSUSED */ int pfTrans(char *interface) { @@ -73,7 +72,6 @@ pfTrans(char *interface) /* * Open and initialize packet filter. */ -/* ARGSUSED */ int pfInit(char *interface, int mode, u_short protocol, int typ) { @@ -157,7 +155,6 @@ pfInit(char *interface, int mode, u_short protocol, int typ) /* * Add a Multicast address to the interface */ -/* ARGSUSED */ int pfAddMulti(int s, char *interface, char *addr) { @@ -190,7 +187,6 @@ pfAddMulti(int s, char *interface, char *addr) /* * Delete a Multicast address from the interface */ -/* ARGSUSED */ int pfDelMulti(int s, char *interface, char *addr) { diff --git a/usr.sbin/mopd/mopchk/mopchk.c b/usr.sbin/mopd/mopchk/mopchk.c index 987b4a62d2c..f1bccdbe05b 100644 --- a/usr.sbin/mopd/mopchk/mopchk.c +++ b/usr.sbin/mopd/mopchk/mopchk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mopchk.c,v 1.19 2021/10/24 21:24:19 deraadt Exp $ */ +/* $OpenBSD: mopchk.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -151,7 +151,6 @@ Usage() /* * Process incoming packages, NOT. */ -/* ARGSUSED */ void mopProcess(ii, pkt) struct if_info *ii; diff --git a/usr.sbin/mopd/mopd/process.c b/usr.sbin/mopd/mopd/process.c index 1169d1d2f73..4f6216942e9 100644 --- a/usr.sbin/mopd/mopd/process.c +++ b/usr.sbin/mopd/mopd/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.24 2022/01/28 06:33:27 guenther Exp $ */ +/* $OpenBSD: process.c,v 1.25 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -334,7 +334,6 @@ mopNextLoad(u_char *dst, u_char *src, u_char new_count, int trans) warnx("pfWrite() error"); } -/* ARGSUSED */ void mopProcessDL(FILE *fd, struct if_info *ii, u_char *pkt, int *idx, u_char *dst, u_char *src, int trans, u_short len) @@ -462,7 +461,6 @@ mopProcessDL(FILE *fd, struct if_info *ii, u_char *pkt, int *idx, u_char *dst, } } -/* ARGSUSED */ void mopProcessRC(FILE *fd, struct if_info *ii, u_char *pkt, int *idx, u_char dst, u_char *src, int trans, u_short len) diff --git a/usr.sbin/mopd/moptrace/moptrace.c b/usr.sbin/mopd/moptrace/moptrace.c index 5bcb6292b73..157dd12b7aa 100644 --- a/usr.sbin/mopd/moptrace/moptrace.c +++ b/usr.sbin/mopd/moptrace/moptrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moptrace.c,v 1.13 2015/02/09 23:00:14 deraadt Exp $ */ +/* $OpenBSD: moptrace.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -112,7 +112,6 @@ Usage() /* * Process incoming packages. */ -/* ARGSUSED */ void mopProcess(struct if_info *ii, u_char *pkt) { diff --git a/usr.sbin/npppd/npppd/control.c b/usr.sbin/npppd/npppd/control.c index acb06cab031..35e1b18b800 100644 --- a/usr.sbin/npppd/npppd/control.c +++ b/usr.sbin/npppd/npppd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.7 2017/01/09 14:04:31 krw Exp $ */ +/* $OpenBSD: control.c,v 1.8 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -145,7 +145,6 @@ control_cleanup(struct control_sock *cs) } #include -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { @@ -238,7 +237,6 @@ control_close(int fd, struct control_sock *cs) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/control.c b/usr.sbin/ospf6d/control.c index ce018c3e5f0..2bb656c1df7 100644 --- a/usr.sbin/ospf6d/control.c +++ b/usr.sbin/ospf6d/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.30 2021/01/19 09:42:11 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.31 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -140,7 +140,6 @@ control_cleanup(void) event_del(&control_state.evt); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *bula) { @@ -238,7 +237,6 @@ control_close(int fd) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/database.c b/usr.sbin/ospf6d/database.c index febe11934ea..9c025b0feb8 100644 --- a/usr.sbin/ospf6d/database.c +++ b/usr.sbin/ospf6d/database.c @@ -1,4 +1,4 @@ -/* $OpenBSD: database.c,v 1.21 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: database.c,v 1.22 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -368,7 +368,6 @@ db_sum_list_clr(struct nbr *nbr) } /* timers */ -/* ARGSUSED */ void db_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/interface.c b/usr.sbin/ospf6d/interface.c index 750c0931e0f..b82989d132a 100644 --- a/usr.sbin/ospf6d/interface.c +++ b/usr.sbin/ospf6d/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.29 2020/05/27 09:03:56 denis Exp $ */ +/* $OpenBSD: interface.c,v 1.30 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -303,7 +303,6 @@ if_start(struct ospfd_conf *xconf, struct iface *iface) } /* timers */ -/* ARGSUSED */ void if_hello_timer(int fd, short event, void *arg) { @@ -336,7 +335,6 @@ if_stop_hello_timer(struct iface *iface) fatal("if_stop_hello_timer"); } -/* ARGSUSED */ void if_wait_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c index 0edf4b99d33..a7d2491a9a1 100644 --- a/usr.sbin/ospf6d/kroute.c +++ b/usr.sbin/ospf6d/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.66 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: kroute.c,v 1.67 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004 Esben Norby @@ -388,7 +388,6 @@ kr_fib_update_prio(u_int8_t fib_prio) kr_state.fib_prio = fib_prio; } -/* ARGSUSED */ void kr_dispatch_msg(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/lsack.c b/usr.sbin/ospf6d/lsack.c index d3c2d65a15b..cec174b9751 100644 --- a/usr.sbin/ospf6d/lsack.c +++ b/usr.sbin/ospf6d/lsack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsack.c,v 1.9 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsack.c,v 1.10 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005, 2007 Esben Norby @@ -231,7 +231,6 @@ ls_ack_list_empty(struct iface *iface) } /* timers */ -/* ARGSUSED */ void ls_ack_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/lsreq.c b/usr.sbin/ospf6d/lsreq.c index 13de5057ef5..29d4133b8b4 100644 --- a/usr.sbin/ospf6d/lsreq.c +++ b/usr.sbin/ospf6d/lsreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsreq.c,v 1.13 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsreq.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005, 2007 Esben Norby @@ -186,7 +186,6 @@ ls_req_list_empty(struct nbr *nbr) } /* timers */ -/* ARGSUSED */ void ls_req_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/lsupdate.c b/usr.sbin/ospf6d/lsupdate.c index 9305139ad31..0d934be7674 100644 --- a/usr.sbin/ospf6d/lsupdate.c +++ b/usr.sbin/ospf6d/lsupdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsupdate.c,v 1.21 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsupdate.c,v 1.22 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -435,7 +435,6 @@ ls_retrans_list_clr(struct nbr *nbr) nbr->ls_ret_cnt = 0; } -/* ARGSUSED */ void ls_retrans_timer(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/neighbor.c b/usr.sbin/ospf6d/neighbor.c index 8834ef917ea..25d43cdb412 100644 --- a/usr.sbin/ospf6d/neighbor.c +++ b/usr.sbin/ospf6d/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.18 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: neighbor.c,v 1.19 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -387,7 +387,6 @@ nbr_find_id(struct iface *iface, u_int32_t rtr_id) } /* timers */ -/* ARGSUSED */ void nbr_itimer(int fd, short event, void *arg) { @@ -430,7 +429,6 @@ nbr_reset_itimer(struct nbr *nbr) fatal("nbr_reset_itimer"); } -/* ARGSUSED */ void nbr_adj_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c index 16cd042a29c..a85f8771c0a 100644 --- a/usr.sbin/ospf6d/ospf6d.c +++ b/usr.sbin/ospf6d/ospf6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6d.c,v 1.52 2022/01/20 14:03:31 naddy Exp $ */ +/* $OpenBSD: ospf6d.c,v 1.53 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -73,7 +73,6 @@ char *conffile; pid_t ospfe_pid = 0; pid_t rde_pid = 0; -/* ARGSUSED */ void main_sig_handler(int sig, short event, void *arg) { @@ -330,7 +329,6 @@ ospfd_shutdown(void) } /* imsg handling */ -/* ARGSUSED */ void main_dispatch_ospfe(int fd, short event, void *bula) { @@ -405,7 +403,6 @@ main_dispatch_ospfe(int fd, short event, void *bula) } } -/* ARGSUSED */ void main_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/ospfe.c b/usr.sbin/ospf6d/ospfe.c index 4ba520480a7..0e8c79755be 100644 --- a/usr.sbin/ospf6d/ospfe.c +++ b/usr.sbin/ospf6d/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.67 2021/01/19 09:54:08 claudio Exp $ */ +/* $OpenBSD: ospfe.c,v 1.68 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -52,7 +52,6 @@ static struct imsgev *iev_main; static struct imsgev *iev_rde; int oe_nofib; -/* ARGSUSED */ void ospfe_sig_handler(int sig, short event, void *bula) { @@ -240,7 +239,6 @@ ospfe_imsg_compose_rde(int type, u_int32_t peerid, pid_t pid, data, datalen)); } -/* ARGSUSED */ void ospfe_dispatch_main(int fd, short event, void *bula) { @@ -427,7 +425,6 @@ ospfe_dispatch_main(int fd, short event, void *bula) } } -/* ARGSUSED */ void ospfe_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index 6aadf964ef4..f67440499de 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.90 2022/01/20 14:03:32 naddy Exp $ */ +/* $OpenBSD: rde.c,v 1.91 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -93,7 +93,6 @@ static struct imsgev *iev_main; struct rde_nbr *nbrself; struct lsa_tree asext_tree; -/* ARGSUSED */ void rde_sig_handler(int sig, short event, void *arg) { @@ -256,7 +255,6 @@ rde_imsg_compose_ospfe(int type, u_int32_t peerid, pid_t pid, void *data, data, datalen)); } -/* ARGSUSED */ void rde_dispatch_imsg(int fd, short event, void *bula) { @@ -636,7 +634,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) } } -/* ARGSUSED */ void rde_dispatch_parent(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/rde_lsdb.c b/usr.sbin/ospf6d/rde_lsdb.c index c14a5bad7ee..33b6b692edd 100644 --- a/usr.sbin/ospf6d/rde_lsdb.c +++ b/usr.sbin/ospf6d/rde_lsdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_lsdb.c,v 1.47 2020/10/04 07:24:46 denis Exp $ */ +/* $OpenBSD: rde_lsdb.c,v 1.48 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -803,7 +803,6 @@ lsa_dump(struct lsa_tree *tree, int imsg_type, pid_t pid) } } -/* ARGSUSED */ void lsa_timeout(int fd, short event, void *bula) { diff --git a/usr.sbin/ospf6d/rde_spf.c b/usr.sbin/ospf6d/rde_spf.c index 8972914e670..fc5d0475bb9 100644 --- a/usr.sbin/ospf6d/rde_spf.c +++ b/usr.sbin/ospf6d/rde_spf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_spf.c,v 1.28 2020/04/05 18:19:04 denis Exp $ */ +/* $OpenBSD: rde_spf.c,v 1.29 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Esben Norby @@ -629,7 +629,6 @@ cand_list_clr(void) } /* timers */ -/* ARGSUSED */ void spf_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c index c46e83831cb..80195b3156a 100644 --- a/usr.sbin/ospfd/control.c +++ b/usr.sbin/ospfd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.47 2021/01/19 09:33:38 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.48 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -140,7 +140,6 @@ control_cleanup(void) event_del(&control_state.evt); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *bula) { @@ -238,7 +237,6 @@ control_close(int fd) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/database.c b/usr.sbin/ospfd/database.c index 5bfcd7af64d..17f855c261c 100644 --- a/usr.sbin/ospfd/database.c +++ b/usr.sbin/ospfd/database.c @@ -1,4 +1,4 @@ -/* $OpenBSD: database.c,v 1.35 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: database.c,v 1.36 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -381,7 +381,6 @@ db_sum_list_clr(struct nbr *nbr) } /* timers */ -/* ARGSUSED */ void db_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c index f69ee07b503..c47268c4a4e 100644 --- a/usr.sbin/ospfd/interface.c +++ b/usr.sbin/ospfd/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.86 2021/01/16 08:03:55 claudio Exp $ */ +/* $OpenBSD: interface.c,v 1.87 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -256,7 +256,6 @@ if_init(struct ospfd_conf *xconf, struct iface *iface) } /* timers */ -/* ARGSUSED */ void if_hello_timer(int fd, short event, void *arg) { @@ -292,7 +291,6 @@ if_stop_hello_timer(struct iface *iface) fatal("if_stop_hello_timer"); } -/* ARGSUSED */ void if_wait_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c index db7bcd74c9d..b83514d17ff 100644 --- a/usr.sbin/ospfd/kroute.c +++ b/usr.sbin/ospfd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.116 2023/02/08 08:20:54 tb Exp $ */ +/* $OpenBSD: kroute.c,v 1.117 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004 Esben Norby @@ -455,7 +455,6 @@ kr_fib_update_prio(u_int8_t fib_prio) kr_state.fib_prio = fib_prio; } -/* ARGSUSED */ void kr_dispatch_msg(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c index c996607b614..78cd67added 100644 --- a/usr.sbin/ospfd/lsack.c +++ b/usr.sbin/ospfd/lsack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsack.c,v 1.23 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsack.c,v 1.24 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -233,7 +233,6 @@ ls_ack_list_empty(struct iface *iface) } /* timers */ -/* ARGSUSED */ void ls_ack_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/lsreq.c b/usr.sbin/ospfd/lsreq.c index 28e6dd8095a..6b513ba369e 100644 --- a/usr.sbin/ospfd/lsreq.c +++ b/usr.sbin/ospfd/lsreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsreq.c,v 1.23 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsreq.c,v 1.24 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -189,7 +189,6 @@ ls_req_list_empty(struct nbr *nbr) } /* timers */ -/* ARGSUSED */ void ls_req_tx_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c index 4b9c0aff05f..774e002b7b5 100644 --- a/usr.sbin/ospfd/lsupdate.c +++ b/usr.sbin/ospfd/lsupdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsupdate.c,v 1.50 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: lsupdate.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -430,7 +430,6 @@ ls_retrans_list_clr(struct nbr *nbr) nbr->ls_ret_cnt = 0; } -/* ARGSUSED */ void ls_retrans_timer(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/neighbor.c b/usr.sbin/ospfd/neighbor.c index 205aa78c124..83712fe19f4 100644 --- a/usr.sbin/ospfd/neighbor.c +++ b/usr.sbin/ospfd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.50 2021/11/03 21:40:03 sthen Exp $ */ +/* $OpenBSD: neighbor.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -383,7 +383,6 @@ nbr_find_id(struct iface *iface, u_int32_t rtr_id) } /* timers */ -/* ARGSUSED */ void nbr_itimer(int fd, short event, void *arg) { @@ -426,7 +425,6 @@ nbr_reset_itimer(struct nbr *nbr) fatal("nbr_reset_itimer"); } -/* ARGSUSED */ void nbr_adj_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index 0b38f637d62..4c3ae9bbbba 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.116 2021/09/06 13:32:18 deraadt Exp $ */ +/* $OpenBSD: ospfd.c,v 1.117 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -73,7 +73,6 @@ char *conffile; pid_t ospfe_pid = 0; pid_t rde_pid = 0; -/* ARGSUSED */ void main_sig_handler(int sig, short event, void *arg) { @@ -346,7 +345,6 @@ ospfd_shutdown(void) } /* imsg handling */ -/* ARGSUSED */ void main_dispatch_ospfe(int fd, short event, void *bula) { @@ -434,7 +432,6 @@ main_dispatch_ospfe(int fd, short event, void *bula) } } -/* ARGSUSED */ void main_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c index 3e5cb5c33d7..ffc6faaa3dc 100644 --- a/usr.sbin/ospfd/ospfe.c +++ b/usr.sbin/ospfd/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.110 2021/01/19 09:37:53 claudio Exp $ */ +/* $OpenBSD: ospfe.c,v 1.111 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -52,7 +52,6 @@ static struct imsgev *iev_main; static struct imsgev *iev_rde; int oe_nofib; -/* ARGSUSED */ void ospfe_sig_handler(int sig, short event, void *bula) { @@ -257,7 +256,6 @@ ospfe_imsg_compose_rde(int type, u_int32_t peerid, pid_t pid, data, datalen)); } -/* ARGSUSED */ void ospfe_dispatch_main(int fd, short event, void *bula) { @@ -478,7 +476,6 @@ ospfe_dispatch_main(int fd, short event, void *bula) } } -/* ARGSUSED */ void ospfe_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c index 6fe6badb62e..725f9077661 100644 --- a/usr.sbin/ospfd/rde.c +++ b/usr.sbin/ospfd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.111 2021/01/19 09:37:53 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.112 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -70,7 +70,6 @@ static struct imsgev *iev_main; struct rde_nbr *nbrself; struct lsa_tree asext_tree; -/* ARGSUSED */ void rde_sig_handler(int sig, short event, void *arg) { @@ -243,7 +242,6 @@ rde_imsg_compose_ospfe(int type, u_int32_t peerid, pid_t pid, void *data, data, datalen)); } -/* ARGSUSED */ void rde_dispatch_imsg(int fd, short event, void *bula) { @@ -635,7 +633,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) } } -/* ARGSUSED */ void rde_dispatch_parent(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/rde_lsdb.c b/usr.sbin/ospfd/rde_lsdb.c index d9265135bf2..38a4b142c6c 100644 --- a/usr.sbin/ospfd/rde_lsdb.c +++ b/usr.sbin/ospfd/rde_lsdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_lsdb.c,v 1.51 2020/10/05 09:19:05 jan Exp $ */ +/* $OpenBSD: rde_lsdb.c,v 1.52 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker @@ -654,7 +654,6 @@ lsa_dump(struct lsa_tree *tree, int imsg_type, pid_t pid) } } -/* ARGSUSED */ void lsa_timeout(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/rde_spf.c b/usr.sbin/ospfd/rde_spf.c index c4da6e4fc02..bc0d4df8285 100644 --- a/usr.sbin/ospfd/rde_spf.c +++ b/usr.sbin/ospfd/rde_spf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_spf.c,v 1.78 2019/11/19 09:55:55 remi Exp $ */ +/* $OpenBSD: rde_spf.c,v 1.79 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2005 Esben Norby @@ -509,7 +509,6 @@ cand_list_clr(void) } /* timers */ -/* ARGSUSED */ void spf_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c index f8791d4e097..e52ac034608 100644 --- a/usr.sbin/portmap/portmap.c +++ b/usr.sbin/portmap/portmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: portmap.c,v 1.50 2019/06/28 13:32:49 deraadt Exp $ */ +/* $OpenBSD: portmap.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */ /*- * Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved. @@ -637,7 +637,6 @@ callit(struct svc_req *rqstp, SVCXPRT *xprt) exit(0); } -/* ARGSUSED */ void reap(int signo) { diff --git a/usr.sbin/pppd/chap.c b/usr.sbin/pppd/chap.c index 2e1c7e02e71..b98e7fc57e4 100644 --- a/usr.sbin/pppd/chap.c +++ b/usr.sbin/pppd/chap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chap.c,v 1.19 2017/11/17 20:48:30 jca Exp $ */ +/* $OpenBSD: chap.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */ /* * chap.c - Challenge Handshake Authentication Protocol. @@ -768,7 +768,6 @@ ChapGenChallenge(cstate) * ChapSendResponse - send a response packet with values as specified * in *cstate. */ -/* ARGSUSED */ static void ChapSendResponse(cstate) chap_state *cstate; diff --git a/usr.sbin/pppd/lcp.c b/usr.sbin/pppd/lcp.c index 2d438b881f8..254309c0239 100644 --- a/usr.sbin/pppd/lcp.c +++ b/usr.sbin/pppd/lcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lcp.c,v 1.13 2015/12/14 03:25:59 mmcc Exp $ */ +/* $OpenBSD: lcp.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */ /* * lcp.c - PPP Link Control Protocol. @@ -417,7 +417,6 @@ lcp_rprotrej(f, inp, len) /* * lcp_protrej - A Protocol-Reject was received. */ -/*ARGSUSED*/ static void lcp_protrej(unit) int unit; diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c index ac0caeef22e..6497187cbcc 100644 --- a/usr.sbin/pppd/main.c +++ b/usr.sbin/pppd/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.55 2021/10/24 21:24:19 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.56 2023/03/08 04:43:14 guenther Exp $ */ /* * main.c - Point-to-Point Protocol main module @@ -735,7 +735,6 @@ die(status) /* * cleanup - restore anything which needs to be restored before we exit */ -/* ARGSUSED */ static void cleanup() { @@ -952,7 +951,6 @@ hup(sig) * * Indicates that we should initiate a graceful disconnect and exit. */ -/*ARGSUSED*/ static void term(sig) int sig; @@ -992,7 +990,6 @@ chld(sig) * * Toggle debug flag. */ -/*ARGSUSED*/ static void toggle_debug(sig) int sig; @@ -1011,7 +1008,6 @@ toggle_debug(sig) * * Try to (re)negotiate compression. */ -/*ARGSUSED*/ static void open_ccp(sig) int sig; diff --git a/usr.sbin/relayd/control.c b/usr.sbin/relayd/control.c index b02cef71374..fc03d750081 100644 --- a/usr.sbin/relayd/control.c +++ b/usr.sbin/relayd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.57 2021/04/20 21:11:56 dv Exp $ */ +/* $OpenBSD: control.c,v 1.58 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -127,7 +127,6 @@ control_cleanup(struct control_sock *cs) event_del(&cs->cs_evt); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { @@ -214,7 +213,6 @@ control_close(int fd, struct control_sock *cs) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *arg) { diff --git a/usr.sbin/ripd/control.c b/usr.sbin/ripd/control.c index e377c7ee860..0bab7d71430 100644 --- a/usr.sbin/ripd/control.c +++ b/usr.sbin/ripd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.27 2021/01/19 10:00:36 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.28 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -107,7 +107,6 @@ control_listen(void) return (0); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *bula) { @@ -205,7 +204,6 @@ control_close(int fd) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *bula) { diff --git a/usr.sbin/ripd/kroute.c b/usr.sbin/ripd/kroute.c index b9523e7fdee..08661eda8d7 100644 --- a/usr.sbin/ripd/kroute.c +++ b/usr.sbin/ripd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.35 2022/05/06 15:51:09 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.36 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2004 Esben Norby @@ -272,7 +272,6 @@ kr_fib_decouple(void) log_info("kernel routing table decoupled"); } -/* ARGSUSED */ void kr_dispatch_msg(int fd, short event, void *bula) { diff --git a/usr.sbin/ripd/message.c b/usr.sbin/ripd/message.c index be56650f6fd..5f46ddba38f 100644 --- a/usr.sbin/ripd/message.c +++ b/usr.sbin/ripd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.15 2019/12/15 20:51:39 remi Exp $ */ +/* $OpenBSD: message.c,v 1.16 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -36,7 +36,6 @@ extern struct ripd_conf *oeconf; void delete_entry(struct rip_route *); /* timers */ -/* ARGSUSED */ void report_timer(int fd, short event, void *arg) { diff --git a/usr.sbin/ripd/neighbor.c b/usr.sbin/ripd/neighbor.c index 7d8248513a2..cbbaf33d3f1 100644 --- a/usr.sbin/ripd/neighbor.c +++ b/usr.sbin/ripd/neighbor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: neighbor.c,v 1.11 2017/01/17 16:30:54 jca Exp $ */ +/* $OpenBSD: neighbor.c,v 1.12 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -320,7 +320,6 @@ nbr_failed_delete(struct nbr_failed *nbr_failed) } /* timers */ -/* ARGSUSED */ void nbr_timeout_timer(int fd, short event, void *arg) { @@ -332,7 +331,6 @@ nbr_timeout_timer(int fd, short event, void *arg) nbr_fsm(nbr, NBR_EVT_TIMEOUT); } -/* ARGSUSED */ void nbr_failed_timeout(int fd, short event, void *arg) { diff --git a/usr.sbin/ripd/rde.c b/usr.sbin/ripd/rde.c index cf7879de608..258010a9cc9 100644 --- a/usr.sbin/ripd/rde.c +++ b/usr.sbin/ripd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.24 2021/01/19 10:20:47 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.25 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -52,7 +52,6 @@ int rde_imsg_compose_ripe(int, u_int32_t, pid_t, void *, u_int16_t); int rde_check_route(struct rip_route *); void triggered_update(struct rt_node *); -/* ARGSUSED */ void rde_sig_handler(int sig, short event, void *arg) { @@ -187,7 +186,6 @@ rde_imsg_compose_ripe(int type, u_int32_t peerid, pid_t pid, void *data, data, datalen)); } -/* ARGSUSED */ void rde_dispatch_imsg(int fd, short event, void *bula) { @@ -288,7 +286,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) } } -/* ARGSUSED */ void rde_dispatch_parent(int fd, short event, void *bula) { diff --git a/usr.sbin/ripd/rde_rib.c b/usr.sbin/ripd/rde_rib.c index 96ed32efcb1..ba7198cc006 100644 --- a/usr.sbin/ripd/rde_rib.c +++ b/usr.sbin/ripd/rde_rib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_rib.c,v 1.5 2007/10/24 20:38:03 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.6 2023/03/08 04:43:14 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -72,7 +72,6 @@ route_start_garbage(struct rt_node *rn) } } -/* ARGSUSED */ void route_action_timeout(int fd, short event, void *arg) { @@ -89,7 +88,6 @@ route_action_timeout(int fd, short event, void *arg) rde_send_change_kroute(r); } -/* ARGSUSED */ void route_action_garbage(int fd, short event, void *arg) { diff --git a/usr.sbin/ripd/ripd.c b/usr.sbin/ripd/ripd.c index f09b60e16e1..6675a2041af 100644 --- a/usr.sbin/ripd/ripd.c +++ b/usr.sbin/ripd/ripd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripd.c,v 1.36 2021/09/06 13:32:18 deraadt Exp $ */ +/* $OpenBSD: ripd.c,v 1.37 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -75,7 +75,6 @@ usage(void) exit(1); } -/* ARGSUSED */ void main_sig_handler(int sig, short event, void *arg) { @@ -304,7 +303,6 @@ ripd_shutdown(void) } /* imsg handling */ -/* ARGSUSED */ void main_dispatch_ripe(int fd, short event, void *bula) { @@ -384,7 +382,6 @@ main_dispatch_ripe(int fd, short event, void *bula) } } -/* ARGSUSED */ void main_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/ripd/ripe.c b/usr.sbin/ripd/ripe.c index 9f462bc0e2d..c1b3c724e49 100644 --- a/usr.sbin/ripd/ripe.c +++ b/usr.sbin/ripd/ripe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripe.c,v 1.30 2021/01/19 10:20:47 claudio Exp $ */ +/* $OpenBSD: ripe.c,v 1.31 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2006 Michele Marchetto @@ -49,7 +49,6 @@ struct ripd_conf *oeconf = NULL; static struct imsgev *iev_main; static struct imsgev *iev_rde; -/* ARGSUSED */ void ripe_sig_handler(int sig, short event, void *bula) { @@ -220,7 +219,6 @@ ripe_imsg_compose_rde(int type, u_int32_t peerid, pid_t pid, data, datalen)); } -/* ARGSUSED */ void ripe_dispatch_main(int fd, short event, void *bula) { @@ -299,7 +297,6 @@ ripe_dispatch_main(int fd, short event, void *bula) } } -/* ARGSUSED */ void ripe_dispatch_rde(int fd, short event, void *bula) { diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c index a3ff649e2db..549fdaacac4 100644 --- a/usr.sbin/rpc.lockd/lockd.c +++ b/usr.sbin/rpc.lockd/lockd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockd.c,v 1.15 2022/12/04 23:50:51 cheloha Exp $ */ +/* $OpenBSD: lockd.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 1995 @@ -188,7 +188,6 @@ main(int argc, char *argv[]) } static void -/*ARGSUSED*/ sigalarm_handler(int s) { grace_expired = 1; diff --git a/usr.sbin/rpc.lockd/lockd_lock.c b/usr.sbin/rpc.lockd/lockd_lock.c index 032f7d1d746..bb751cbb0f8 100644 --- a/usr.sbin/rpc.lockd/lockd_lock.c +++ b/usr.sbin/rpc.lockd/lockd_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockd_lock.c,v 1.11 2022/12/28 21:30:18 jmc Exp $ */ +/* $OpenBSD: lockd_lock.c,v 1.12 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2000 Manuel Bouyer. @@ -171,7 +171,6 @@ lock_lookup(struct file_lock *newfl, int flags) */ struct nlm4_holder * -/*ARGSUSED*/ testlock(struct nlm4_lock *lock, int flags) { struct file_lock *fl; @@ -430,7 +429,6 @@ lfree(struct file_lock *fl) } void -/*ARGSUSED*/ sigchild_handler(int sig) { int sstatus; @@ -604,7 +602,6 @@ do_lock(struct file_lock *fl, int block) } void -/*ARGSUSED*/ send_granted(struct file_lock *fl, int opcode) { CLIENT *cli; diff --git a/usr.sbin/rpc.lockd/procs.c b/usr.sbin/rpc.lockd/procs.c index be4319c55e8..daafeea1300 100644 --- a/usr.sbin/rpc.lockd/procs.c +++ b/usr.sbin/rpc.lockd/procs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procs.c,v 1.15 2015/01/16 06:40:20 deraadt Exp $ */ +/* $OpenBSD: procs.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 1995 @@ -568,7 +568,6 @@ nlm_granted_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_test_res_1_svc(nlm_testres *arg, struct svc_req *rqstp) { if (debug_level) @@ -582,7 +581,6 @@ nlm_test_res_1_svc(nlm_testres *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -597,7 +595,6 @@ nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_cancel_res_1_svc(nlm_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -611,7 +608,6 @@ nlm_cancel_res_1_svc(nlm_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -625,7 +621,6 @@ nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_granted_res_1_svc(nlm_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -717,7 +712,6 @@ nlm_nm_lock_3_svc(nlm_lockargs *arg, struct svc_req *rqstp) * using monitored locks. */ void * -/*ARGSUSED*/ nlm_free_all_3_svc(nlm_notify *arg, struct svc_req *rqstp) { static char dummy; @@ -976,7 +970,6 @@ nlm4_granted_msg_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm4_test_res_4_svc(nlm4_testres *arg, struct svc_req *rqstp) { if (debug_level) @@ -990,7 +983,6 @@ nlm4_test_res_4_svc(nlm4_testres *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm4_lock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -1005,7 +997,6 @@ nlm4_lock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm4_cancel_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -1019,7 +1010,6 @@ nlm4_cancel_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm4_unlock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -1033,7 +1023,6 @@ nlm4_unlock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm4_granted_res_4_svc(nlm4_res *arg, struct svc_req *rqstp) { if (debug_level) @@ -1125,7 +1114,6 @@ nlm4_nm_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) * using monitored locks. */ void * -/*ARGSUSED*/ nlm4_free_all_4_svc(nlm_notify *arg, struct svc_req *rqstp) { static char dummy; @@ -1141,7 +1129,6 @@ nlm4_free_all_4_svc(nlm_notify *arg, struct svc_req *rqstp) * Returns: Nothing */ void * -/*ARGSUSED*/ nlm_sm_notify_0_svc(struct nlm_sm_status *arg, struct svc_req *rqstp) { static char dummy; diff --git a/usr.sbin/sensorsd/sensorsd.c b/usr.sbin/sensorsd/sensorsd.c index d1322d21bb8..bf04206a672 100644 --- a/usr.sbin/sensorsd/sensorsd.c +++ b/usr.sbin/sensorsd/sensorsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensorsd.c,v 1.68 2021/07/12 15:09:21 beck Exp $ */ +/* $OpenBSD: sensorsd.c,v 1.69 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -840,7 +840,6 @@ get_val(char *buf, int upper, enum sensor_type type) return (rval); } -/* ARGSUSED */ void reparse_cfg(int signo) { diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c index 43fdec287aa..835ab5520ee 100644 --- a/usr.sbin/smtpd/control.c +++ b/usr.sbin/smtpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.128 2021/06/14 17:58:15 eric Exp $ */ +/* $OpenBSD: control.c,v 1.129 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2012 Gilles Chehade @@ -269,7 +269,6 @@ control_listen(void) event_add(&control_state.ev, NULL); } -/* ARGSUSED */ static void control_accept(int listenfd, short event, void *arg) { @@ -407,7 +406,6 @@ control_digest_update(const char *key, size_t value, int incr) } } -/* ARGSUSED */ static void control_dispatch_ext(struct mproc *p, struct imsg *imsg) { diff --git a/usr.sbin/snmpd/snmpe.c b/usr.sbin/snmpd/snmpe.c index add7acf3c4b..1d3e7e2ccb7 100644 --- a/usr.sbin/snmpd/snmpe.c +++ b/usr.sbin/snmpd/snmpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpe.c,v 1.87 2022/12/20 20:06:47 martijn Exp $ */ +/* $OpenBSD: snmpe.c,v 1.88 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2007, 2008, 2012 Reyk Floeter @@ -96,7 +96,6 @@ snmpe(struct privsep *ps, struct privsep_proc *p) proc_run(ps, p, procs, nitems(procs), snmpe_init, NULL); } -/* ARGSUSED */ void snmpe_init(struct privsep *ps, struct privsep_proc *p, void *arg) { diff --git a/usr.sbin/syslogd/privsep.c b/usr.sbin/syslogd/privsep.c index d5744db5aa5..db3131bdc5a 100644 --- a/usr.sbin/syslogd/privsep.c +++ b/usr.sbin/syslogd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.74 2021/10/24 21:24:19 deraadt Exp $ */ +/* $OpenBSD: privsep.c,v 1.75 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2003 Anil Madhavapeddy @@ -833,7 +833,6 @@ sig_pass_to_chld(int sig) } /* When child dies, move into the shutdown state */ -/* ARGSUSED */ static void sig_got_chld(int sig) { diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index cdc954c519a..4520c353a60 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trpt.c,v 1.39 2019/12/02 21:47:54 cheloha Exp $ */ +/* $OpenBSD: trpt.c,v 1.40 2023/03/08 04:43:15 guenther Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -302,7 +302,6 @@ dotrace(caddr_t tcpcb) /* * Tcp debug routines */ -/*ARGSUSED*/ void tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpiphdr *ti, struct tcpipv6hdr *ti6, int req) diff --git a/usr.sbin/vmd/control.c b/usr.sbin/vmd/control.c index 8b16ba89147..1fe8c1ecba3 100644 --- a/usr.sbin/vmd/control.c +++ b/usr.sbin/vmd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.39 2022/01/04 15:22:53 claudio Exp $ */ +/* $OpenBSD: control.c,v 1.40 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2010-2015 Reyk Floeter @@ -265,7 +265,6 @@ control_listen(struct control_sock *cs) return (0); } -/* ARGSUSED */ void control_accept(int listenfd, short event, void *arg) { @@ -369,7 +368,6 @@ control_close(int fd, struct control_sock *cs) free(c); } -/* ARGSUSED */ void control_dispatch_imsg(int fd, short event, void *arg) { diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index ee265aa1f58..83b7613e9a7 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: watchdogd.c,v 1.15 2015/01/16 06:40:22 deraadt Exp $ */ +/* $OpenBSD: watchdogd.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 2005 Marc Balmer @@ -44,7 +44,6 @@ usage(void) exit(1); } -/* ARGSUSED */ void sighdlr(int signum) { diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index f121bd6ddd7..6a1c5d91fcc 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.77 2022/12/28 21:30:19 jmc Exp $ */ +/* $OpenBSD: ypbind.c,v 1.78 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt @@ -118,7 +118,6 @@ u_int32_t unique_xid(struct _dom_binding *ypdb); * declare sun's interface insufficient and roll our own. */ -/*ARGSUSED*/ static void * ypbindproc_null_2x(SVCXPRT *transp, void *argp, CLIENT *clnt) { @@ -128,7 +127,6 @@ ypbindproc_null_2x(SVCXPRT *transp, void *argp, CLIENT *clnt) return (void *)&res; } -/*ARGSUSED*/ static struct ypbind_resp * ypbindproc_domain_2x(SVCXPRT *transp, domainname *argp, CLIENT *clnt) { @@ -211,7 +209,6 @@ ypbindproc_domain_2x(SVCXPRT *transp, domainname *argp, CLIENT *clnt) return &res; } -/*ARGSUSED*/ static bool_t * ypbindproc_setdom_2x(SVCXPRT *transp, struct ypbind_setdom *argp, CLIENT *clnt) { diff --git a/usr.sbin/ypserv/ypserv/ypserv.c b/usr.sbin/ypserv/ypserv/ypserv.c index 13d12d4b6ad..2f5dd63922d 100644 --- a/usr.sbin/ypserv/ypserv/ypserv.c +++ b/usr.sbin/ypserv/ypserv/ypserv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypserv.c,v 1.44 2015/11/17 18:21:48 tedu Exp $ */ +/* $OpenBSD: ypserv.c,v 1.45 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 1994 Mats O Jansson @@ -81,7 +81,6 @@ _msgout(char *msg) #endif } -/* ARGSUSED */ static void closedown(int sig) { @@ -538,7 +537,6 @@ main(int argc, char *argv[]) /* NOTREACHED */ } -/* ARGSUSED */ void sig_child(int signo) { @@ -549,7 +547,6 @@ sig_child(int signo) errno = save_errno; } -/* ARGSUSED */ void sig_hup(int signo) { diff --git a/usr.sbin/ypserv/ypserv/ypserv_proc.c b/usr.sbin/ypserv/ypserv/ypserv_proc.c index aa88455071d..ed72977855d 100644 --- a/usr.sbin/ypserv/ypserv/ypserv_proc.c +++ b/usr.sbin/ypserv/ypserv/ypserv_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypserv_proc.c,v 1.29 2015/01/16 06:40:23 deraadt Exp $ */ +/* $OpenBSD: ypserv_proc.c,v 1.30 2023/03/08 04:43:15 guenther Exp $ */ /* * Copyright (c) 1994 Mats O Jansson @@ -56,7 +56,6 @@ static char *True = "true"; static char *False = "FALSE"; #define TORF(N) ((N) ? True : False) -/*ARGSUSED*/ void * ypproc_null_2_svc(void *argp, struct svc_req *rqstp) { @@ -276,7 +275,6 @@ ypproc_xfr_2_svc(ypreq_xfr *argp, struct svc_req *rqstp) return (&res); } -/*ARGSUSED*/ void * ypproc_clear_2_svc(void *argp, struct svc_req *rqstp) { @@ -511,7 +509,6 @@ bail: return (&res); } -/*ARGSUSED*/ void * ypoldproc_null_1_svc(void *argp, struct svc_req *rqstp) {