1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@
This commit is contained in:
guenther 2023-03-08 04:43:04 +00:00
parent 8265defcc4
commit 5b133f3f27
288 changed files with 289 additions and 1192 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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)
{

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 <unistd.h>
#include <err.h>
/* ARGSUSED */
int
main(int argc, char *argv[])
{

View File

@ -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)
{

View File

@ -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 <stdlib.h>
#include <wchar.h>
/*ARGSUSED*/
size_t
mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
{

View File

@ -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];

View File

@ -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;

View File

@ -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__)))
* [<ESC>]
*/
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__)))
{

View File

@ -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__)))
{

View File

@ -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;

View File

@ -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)
{

View File

@ -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__)))
{
}

View File

@ -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;

View File

@ -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)
{

View File

@ -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)
{
}

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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__)))
* [<ESC>]
*/
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;

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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 <stdio.h>
@ -214,7 +214,6 @@ readskey(char *buf, int n)
}
/* Signal handler for trapping ^C */
/*ARGSUSED*/
static void
trapped(int sig)
{

View File

@ -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 <henning@openbsd.org>
@ -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)

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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 <moritz@openbsd.org>
@ -394,7 +394,6 @@ sig_pass_to_slave(int signo)
errno = olderrno;
}
/* ARGSUSED */
void
sig_chld(int signo)
{

View File

@ -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 <deraadt@theos.com>
@ -101,7 +101,6 @@ main(int argc, char *argv[])
exit (0);
}
/*ARGSUSED*/
void
unhold(int signo)
{

View File

@ -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 <millert@openbsd.org>
@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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 <reyk@openbsd.org>
@ -1293,7 +1293,6 @@ fetcharp(struct ktable *kt)
return (rv);
}
/* ARGSUSED */
void
dispatch_rtmsg(int fd, short event, void *arg)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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[])
{

View File

@ -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[])
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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 <reyk@openbsd.org>
@ -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)
{

View File

@ -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)
{

View File

@ -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 <mbalmer@openbsd.org>
@ -332,7 +332,6 @@ bail_out:
return 0;
}
/* ARGSUSED */
void
coroner(int useless)
{

View File

@ -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)
{

View File

@ -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[])
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)

View File

@ -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)

View File

@ -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)
{

View File

@ -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)
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if_mtw.c,v 1.7 2022/07/28 00:56:02 kevlo Exp $ */
/* $OpenBSD: if_mtw.c,v 1.8 2023/03/08 04:43:08 guenther Exp $ */
/*
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
* Copyright (c) 2013-2014 Kevin Lo
@ -1657,7 +1657,6 @@ mtw_updateedca(struct ieee80211com *ic)
mtw_do_async(ic->ic_softc, mtw_updateedca_cb, NULL, 0);
}
/* ARGSUSED */
void
mtw_updateedca_cb(struct mtw_softc *sc, void *arg)
{
@ -1706,7 +1705,6 @@ mtw_updateslot(struct ieee80211com *ic)
mtw_do_async(ic->ic_softc, mtw_updateslot_cb, NULL, 0);
}
/* ARGSUSED */
void
mtw_updateslot_cb(struct mtw_softc *sc, void *arg)
{
@ -1899,7 +1897,6 @@ mtw_calibrate_to(void *arg)
/* next timeout will be rescheduled in the calibration task */
}
/* ARGSUSED */
void
mtw_calibrate_cb(struct mtw_softc *sc, void *arg)
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if_otus.c,v 1.71 2022/04/21 21:03:03 stsp Exp $ */
/* $OpenBSD: if_otus.c,v 1.72 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@ -963,7 +963,6 @@ otus_newassoc(struct ieee80211com *ic, struct ieee80211_node *ni, int isnew)
}
}
/* ARGSUSED */
void
otus_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
{
@ -1570,7 +1569,6 @@ otus_updateedca(struct ieee80211com *ic)
otus_do_async(ic->ic_softc, otus_updateedca_cb, NULL, 0);
}
/* ARGSUSED */
void
otus_updateedca_cb(struct otus_softc *sc, void *arg)
{
@ -1634,7 +1632,6 @@ otus_updateslot(struct ieee80211com *ic)
otus_do_async(ic->ic_softc, otus_updateslot_cb, NULL, 0);
}
/* ARGSUSED */
void
otus_updateslot_cb(struct otus_softc *sc, void *arg)
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if_rsu.c,v 1.51 2022/04/21 21:03:03 stsp Exp $ */
/* $OpenBSD: if_rsu.c,v 1.52 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@ -770,7 +770,6 @@ rsu_calib_to(void *arg)
usbd_ref_decr(sc->sc_udev);
}
/* ARGSUSED */
void
rsu_calib_cb(struct rsu_softc *sc, void *arg)
{
@ -948,7 +947,6 @@ rsu_set_key_cb(struct rsu_softc *sc, void *arg)
}
}
/* ARGSUSED */
void
rsu_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni,
struct ieee80211_key *k)
@ -1624,7 +1622,6 @@ rsu_tx(struct rsu_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
return (0);
}
/* ARGSUSED */
int
rsu_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if_run.c,v 1.137 2022/05/10 08:20:36 stsp Exp $ */
/* $OpenBSD: if_run.c,v 1.138 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr>
@ -1869,7 +1869,6 @@ run_updateedca(struct ieee80211com *ic)
run_do_async(ic->ic_softc, run_updateedca_cb, NULL, 0);
}
/* ARGSUSED */
void
run_updateedca_cb(struct run_softc *sc, void *arg)
{
@ -2076,7 +2075,6 @@ run_calibrate_to(void *arg)
/* next timeout will be rescheduled in the calibration task */
}
/* ARGSUSED */
void
run_calibrate_cb(struct run_softc *sc, void *arg)
{
@ -3762,7 +3760,6 @@ run_updateslot(struct ieee80211com *ic)
run_do_async(ic->ic_softc, run_updateslot_cb, NULL, 0);
}
/* ARGSUSED */
void
run_updateslot_cb(struct run_softc *sc, void *arg)
{

View File

@ -1,4 +1,4 @@
/* $OpenBSD: if_urtwn.c,v 1.104 2023/01/16 22:08:50 jmatthew Exp $ */
/* $OpenBSD: if_urtwn.c,v 1.105 2023/03/08 04:43:08 guenther Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@ -900,7 +900,6 @@ urtwn_calib_to(void *arg)
usbd_ref_decr(sc->sc_udev);
}
/* ARGSUSED */
void
urtwn_calib_cb(struct urtwn_softc *sc, void *arg)
{
@ -1000,7 +999,6 @@ urtwn_updateslot(struct ieee80211com *ic)
urtwn_do_async(sc, urtwn_updateslot_cb, NULL, 0);
}
/* ARGSUSED */
void
urtwn_updateslot_cb(struct urtwn_softc *sc, void *arg)
{
@ -1020,7 +1018,6 @@ urtwn_updateedca(struct ieee80211com *ic)
urtwn_do_async(sc, urtwn_updateedca_cb, NULL, 0);
}
/* ARGSUSED */
void
urtwn_updateedca_cb(struct urtwn_softc *sc, void *arg)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

Some files were not shown because too many files have changed in this diff Show More