-/* $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 $ */
/*-
* and finally go through the normal error mechanism, which
* gets a chance to make the shell go away.
*/
-/* ARGSUSED */
void
pintr(int notused)
{
}
void
-/*ARGSUSED*/
dosource(Char **v, struct command *t)
{
Char *f;
-/* $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 $ */
/*-
* dodirs - list all directories in directory loop
*/
void
-/*ARGSUSED*/
dodirs(Char **v, struct command *t)
{
skipargs(&v, "");
* dochngd - implement chdir command.
*/
void
-/*ARGSUSED*/
dochngd(Char **v, struct command *t)
{
Char *cp;
* with numeric argument (+n) bring it to top.
*/
void
-/*ARGSUSED*/
dopushd(Char **v, struct command *t)
{
struct directory *dp;
* with a numeric argument just discard it.
*/
void
-/*ARGSUSED*/
dopopd(Char **v, struct command *t)
{
struct directory *dp, *p = NULL;
-/* $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 $ */
/*-
* Unit 0 should have been closed before this call.
*/
void
-/*ARGSUSED*/
heredoc(Char *term)
{
int c;
-/* $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 $ */
/*-
void
-/*ARGSUSED*/
doexec(Char **v, struct command *t)
{
Char *dp, **pv, **av, *sav;
}
}
-/*ARGSUSED*/
void
execash(Char **t, struct command *kp)
{
}
void
-/*ARGSUSED*/
dohash(Char **v, struct command *t)
{
DIR *dirp;
}
void
-/*ARGSUSED*/
dounhash(Char **v, struct command *t)
{
havhash = 0;
}
void
-/*ARGSUSED*/
hashstat(Char **v, struct command *t)
{
if (hits + misses)
* West-Germany
* Thanks!!
*/
-/*ARGSUSED*/
void
dowhich(Char **v, struct command *c)
{
-/* $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 $ */
/*-
}
void
-/*ARGSUSED*/
doonintr(Char **v, struct command *t)
{
Char *cp;
}
void
-/*ARGSUSED*/
donohup(Char **v, struct command *t)
{
if (intty)
}
void
-/*ARGSUSED*/
dozip(Char **v, struct command *t)
{
;
}
void
-/*ARGSUSED*/
doalias(Char **v, struct command *t)
{
struct varent *vp;
}
void
-/*ARGSUSED*/
unalias(Char **v, struct command *t)
{
unset1(v, &aliases);
}
void
-/*ARGSUSED*/
dologout(Char **v, struct command *t)
{
islogin();
}
void
-/*ARGSUSED*/
dologin(Char **v, struct command *t)
{
islogin();
}
void
-/*ARGSUSED*/
doelse(Char **v, struct command *t)
{
search(T_ELSE, 0, NULL);
}
void
-/*ARGSUSED*/
dogoto(Char **v, struct command *t)
{
Char *lp;
}
void
-/*ARGSUSED*/
doswitch(Char **v, struct command *t)
{
Char *cp, *lp;
}
void
-/*ARGSUSED*/
dobreak(Char **v, struct command *t)
{
if (whyles)
}
void
-/*ARGSUSED*/
doexit(Char **v, struct command *t)
{
if (chkstop == 0 && (intty || intact) && evalvec == 0)
}
void
-/*ARGSUSED*/
doforeach(Char **v, struct command *t)
{
Char *cp, *sp;
}
void
-/*ARGSUSED*/
dowhile(Char **v, struct command *t)
{
int status;
}
void
-/*ARGSUSED*/
doend(Char **v, struct command *t)
{
if (!whyles)
}
void
-/*ARGSUSED*/
docontin(Char **v, struct command *t)
{
if (!whyles)
}
void
-/*ARGSUSED*/
doswbrk(Char **v, struct command *t)
{
search(T_BRKSW, 0, NULL);
}
void
-/*ARGSUSED*/
doecho(Char **v, struct command *t)
{
xecho(' ', v);
}
void
-/*ARGSUSED*/
doglob(Char **v, struct command *t)
{
xecho(0, v);
}
void
-/*ARGSUSED*/
dosetenv(Char **v, struct command *t)
{
Char *vp, *lp;
}
void
-/*ARGSUSED*/
dounsetenv(Char **v, struct command *t)
{
Char **ep, *p, *n, *name;
}
void
-/*ARGSUSED*/
doumask(Char **v, struct command *t)
{
Char *cp = v[1];
}
void
-/*ARGSUSED*/
dolimit(Char **v, struct command *t)
{
struct limits *lp;
stderror(ERR_BADSCALE, origstr);
}
-/*ARGSUSED*/
static void
plim(struct limits *lp, Char hard)
{
}
void
-/*ARGSUSED*/
dounlimit(Char **v, struct command *t)
{
struct limits *lp;
}
void
-/*ARGSUSED*/
dosuspend(Char **v, struct command *t)
{
int ctpgrp;
static Char **gv = NULL;
void
-/*ARGSUSED*/
doeval(Char **v, struct command *t)
{
Char **oevalvec;
-/* $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 $ */
/*-
}
void
-/*ARGSUSED*/
dohist(Char **v, struct command *t)
{
int n, rflg = 0, hflg = 0;
-/* $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 $ */
/*-
* dowait - wait for all processes to finish
*/
void
-/*ARGSUSED*/
dowait(Char **v, struct command *t)
{
struct process *pp;
* dojobs - print all jobs
*/
void
-/*ARGSUSED*/
dojobs(Char **v, struct command *t)
{
struct process *pp;
* dofg - builtin - put the job into the foreground
*/
void
-/*ARGSUSED*/
dofg(Char **v, struct command *t)
{
struct process *pp;
* %... - builtin - put the job into the foreground
*/
void
-/*ARGSUSED*/
dofg1(Char **v, struct command *t)
{
struct process *pp;
* dobg - builtin - put the job into the background
*/
void
-/*ARGSUSED*/
dobg(Char **v, struct command *t)
{
struct process *pp;
* %... & - builtin - put the job into the background
*/
void
-/*ARGSUSED*/
dobg1(Char **v, struct command *t)
{
struct process *pp;
* dostop - builtin - stop the job
*/
void
-/*ARGSUSED*/
dostop(Char **v, struct command *t)
{
pkill(++v, SIGSTOP);
* dokill - builtin - superset of kill (1)
*/
void
-/*ARGSUSED*/
dokill(Char **v, struct command *t)
{
int signum = SIGTERM;
* donotify - flag the job so as to report termination asynchronously
*/
void
-/*ARGSUSED*/
donotify(Char **v, struct command *t)
{
struct process *pp;
-/* $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 $ */
/*-
*/
void
-/*ARGSUSED*/
doset(Char **v, struct command *t)
{
Char *p;
}
void
-/*ARGSUSED*/
dolet(Char **v, struct command *t)
{
Char *p;
}
void
-/*ARGSUSED*/
unset(Char **v, struct command *t)
{
unset1(v, &shvhed);
}
void
-/*ARGSUSED*/
shift(Char **v, struct command *t)
{
struct varent *argv;
-/* $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 $ */
/*-
* prefix to another command
*/
void
-/*ARGSUSED*/
dotime(Char **v, struct command *t)
{
struct timespec timedol;
* 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;
-/* $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 $ */
/*
#include <unistd.h>
#include <err.h>
-/* ARGSUSED */
int
main(int argc, char *argv[])
{
-/* $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 $ */
/*-
return (1);
}
-/* ARGSUSED */
static void
sigrmtconnaborted(int signo)
{
-/* $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.
#include <stdlib.h>
#include <wchar.h>
-/*ARGSUSED*/
size_t
mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
{
-/* $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 $ */
/*-
* [^D]
*/
protected el_action_t
-/*ARGSUSED*/
ed_end_of_file(EditLine *el, wint_t c __attribute__((__unused__)))
{
* [M-^?] [^W]
*/
protected el_action_t
-/*ARGSUSED*/
ed_delete_prev_word(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *cp, *p, *kp;
* [^D] [x]
*/
protected el_action_t
-/*ARGSUSED*/
ed_delete_next_char(EditLine *el, wint_t c)
{
#ifdef notdef /* XXX */
* [^K] [^K]
*/
protected el_action_t
-/*ARGSUSED*/
ed_kill_line(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [^E] [^E]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^F] [^F]
*/
protected el_action_t
-/*ARGSUSED*/
ed_next_char(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *lim = el->el_line.lastchar;
* [M-b] [b]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* Bound to keys that are not assigned
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^J]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^L]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^G]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^P] [k]
*/
protected el_action_t
-/*ARGSUSED*/
ed_prev_history(EditLine *el, wint_t c __attribute__((__unused__)))
{
char beep = 0;
* [^N] [j]
*/
protected el_action_t
-/*ARGSUSED*/
ed_next_history(EditLine *el, wint_t c __attribute__((__unused__)))
{
el_action_t beep = CC_REFRESH, rval;
* 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;
* [M-N] [J]
*/
protected el_action_t
-/*ARGSUSED*/
ed_search_next_history(EditLine *el, wint_t c __attribute__((__unused__)))
{
const wchar_t *hp;
* Could be [k] [^p]
*/
protected el_action_t
-/*ARGSUSED*/
ed_prev_line(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *ptr;
* Could be [j] [^n]
*/
protected el_action_t
-/*ARGSUSED*/
ed_next_line(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *ptr;
* [M-X] [:]
*/
protected el_action_t
-/*ARGSUSED*/
ed_command(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t tmpbuf[EL_BUFSIZ];
-/* $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 $ */
/*-
* 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;
-/* $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 $ */
/*-
* [^D]
*/
protected el_action_t
-/*ARGSUSED*/
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;
* [^Y]
*/
protected el_action_t
-/*ARGSUSED*/
em_yank(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [^U]
*/
protected el_action_t
-/*ARGSUSED*/
em_kill_line(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [^W]
*/
protected el_action_t
-/*ARGSUSED*/
em_kill_region(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [M-W]
*/
protected el_action_t
-/*ARGSUSED*/
em_copy_region(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [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)
* [M-u]
*/
protected el_action_t
-/*ARGSUSED*/
em_upper_case(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *cp, *ep;
* [M-c]
*/
protected el_action_t
-/*ARGSUSED*/
em_capitol_case(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *cp, *ep;
* [M-l]
*/
protected el_action_t
-/*ARGSUSED*/
em_lower_case(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *cp, *ep;
* [^@]
*/
protected el_action_t
-/*ARGSUSED*/
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;
* [^U]
*/
protected el_action_t
-/*ARGSUSED*/
em_universal_argument(EditLine *el, wint_t c __attribute__((__unused__)))
{ /* multiply current argument by 4 */
* [<ESC>]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* 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;
* Emacs incremental next search
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [^?]
*/
protected el_action_t
-/*ARGSUSED*/
em_delete_prev_char(EditLine *el, wint_t c __attribute__((__unused__)))
{
-/* $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 $ */
/*-
/*
* el-compatible wrapper around rl_complete; needed for key binding
*/
-/* ARGSUSED */
unsigned char
_el_fn_complete(EditLine *el, int ch __attribute__((__unused__)))
{
-/* $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 $ */
/*-
* Return 0 for failure, 1 for success.
*/
protected int
-/*ARGSUSED*/
hist_enlargebuf(EditLine *el, size_t oldsz, size_t newsz)
{
wchar_t *newbuf;
-/* $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 $ */
/*-
/* 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)
/* 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)
/* history_def_init():
* Default history initialization function
*/
-/* ARGSUSED */
static int
history_def_init(void **p, TYPE(HistEvent) *ev __attribute__((__unused__)), int n)
{
-/* $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 $ */
/*-
* 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"? ";
* 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"";
* Clean up the prompt stuff
*/
protected void
-/*ARGSUSED*/
prompt_end(EditLine *el __attribute__((__unused__)))
{
}
-/* $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 $ */
/*-
static void _rl_update_pos(void);
-/* ARGSUSED */
static char *
_get_prompt(EditLine *el __attribute__((__unused__)))
{
* read one key from user defined input function
*/
static int
-/*ARGSUSED*/
_getc_function(EditLine *el __attribute__((__unused__)), wchar_t *c)
{
int i;
* 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)
/*
* el-compatible wrapper to send TSTP on ^Z
*/
-/* ARGSUSED */
static unsigned char
_el_rl_tstp(EditLine *el __attribute__((__unused__)), int ch __attribute__((__unused__)))
{
}
static const char *
-/*ARGSUSED*/
_rl_completion_append_character_function(const char *dummy
__attribute__((__unused__)))
{
/*
* complete word at current point
*/
-/* ARGSUSED */
int
rl_complete(int ignore __attribute__((__unused__)), int invoking_key)
{
}
-/* ARGSUSED */
static unsigned char
_el_rl_complete(EditLine *el __attribute__((__unused__)), int ch)
{
/*
* reset the terminal
*/
-/* ARGSUSED */
void
rl_reset_terminal(const char *p __attribute__((__unused__)))
{
return (int)strlen(text);
}
-/*ARGSUSED*/
int
rl_newline(int count, int c)
{
return rl_insert(1, '\n');
}
-/*ARGSUSED*/
static unsigned char
rl_bind_wrapper(EditLine *el, unsigned char c)
{
}
void
-/*ARGSUSED*/
rl_prep_terminal(int meta_flag)
{
el_set(e, EL_PREP_TERM, 1);
}
int
-/*ARGSUSED*/
rl_kill_text(int from, int to)
{
return 0;
}
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;
}
int
-/*ARGSUSED*/
rl_set_keyboard_input_timeout(int u __attribute__((__unused__)))
{
return 0;
-/* $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 $ */
/*-
* 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)
{
* 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)
{
-/* $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 $ */
/*-
* Handle regular expression errors
*/
void
-/*ARGSUSED*/
regerror(const char *msg)
{
}
-/* $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 $ */
/*-
* Print the current termcap characteristics
*/
protected int
-/*ARGSUSED*/
terminal_telltc(EditLine *el, int argc __attribute__((__unused__)),
const wchar_t **argv __attribute__((__unused__)))
{
* Change the current terminal characteristics
*/
protected int
-/*ARGSUSED*/
terminal_settc(EditLine *el, int argc __attribute__((__unused__)),
const wchar_t **argv)
{
* Get the current terminal characteristics
*/
protected int
-/*ARGSUSED*/
terminal_gettc(EditLine *el, int argc __attribute__((__unused__)), char **argv)
{
const struct termcapstr *ts;
* Print the termcap string out with variable substitution
*/
protected int
-/*ARGSUSED*/
terminal_echotc(EditLine *el, int argc __attribute__((__unused__)),
const wchar_t **argv)
{
-/* $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 $ */
/*-
* Restore the tty to its original settings
*/
protected void
-/*ARGSUSED*/
tty_end(EditLine *el)
{
if (el->el_flags & EDIT_DISABLED)
* Stty builtin
*/
protected int
-/*ARGSUSED*/
tty_stty(EditLine *el, int argc __attribute__((__unused__)),
const wchar_t **argv)
{
-/* $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 $ */
/*-
* [p]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [B]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [W]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [c]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [r]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [s]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [C]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [a]
*/
protected el_action_t
-/*ARGSUSED*/
vi_add(EditLine *el, wint_t c __attribute__((__unused__)))
{
int ret;
* [A]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [E]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [u]
*/
protected el_action_t
-/*ARGSUSED*/
vi_undo(EditLine *el, wint_t c __attribute__((__unused__)))
{
c_undo_t un = el->el_chared.c_undo;
* [<ESC>]
*/
protected el_action_t
-/*ARGSUSED*/
vi_command_mode(EditLine *el, wint_t c __attribute__((__unused__)))
{
* [^H] in insert mode only
*/
protected el_action_t
-/*ARGSUSED*/
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)
{
* [^U]
*/
protected el_action_t
-/*ARGSUSED*/
vi_kill_line_prev(EditLine *el, wint_t c __attribute__((__unused__)))
{
wchar_t *kp, *cp;
* [?]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [n]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [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);
* [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);
* [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);
* [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);
* [;]
*/
protected el_action_t
-/*ARGSUSED*/
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;
* [%]
*/
protected el_action_t
-/*ARGSUSED*/
vi_match(EditLine *el, wint_t c __attribute__((__unused__)))
{
const wchar_t match_chars[] = L"()[]{}";
* [U]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [Y]
*/
protected el_action_t
-/*ARGSUSED*/
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__)))
{
* [#]
*/
protected el_action_t
-/*ARGSUSED*/
vi_comment_out(EditLine *el, wint_t c __attribute__((__unused__)))
{
__weak_reference(get_alias_text);
#endif
protected el_action_t
-/*ARGSUSED*/
vi_alias(EditLine *el, wint_t c __attribute__((__unused__)))
{
#ifdef __weak_reference
* [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;
* [v]
*/
protected el_action_t
-/*ARGSUSED*/
vi_histedit(EditLine *el, wint_t c __attribute__((__unused__)))
{
int fd;
* '_' 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);
* [.]
*/
protected el_action_t
-/*ARGSUSED*/
vi_redo(EditLine *el, wint_t c __attribute__((__unused__)))
{
c_redo_t *r = &el->el_chared.c_redo;
-/* $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 $ */
/*-
kd->vmst = NULL;
}
-/*ARGSUSED*/
int
_kvm_initvtop(kvm_t *kd)
{
-/* $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.
kd->vmst = NULL;
}
-/*ARGSUSED*/
int
_kvm_initvtop(kvm_t *kd)
{
return (0);
}
-/*ARGSUSED*/
int
_kvm_kvatop(kvm_t *kd, u_long va, paddr_t *pa)
{
return (0);
}
-/*ARGSUSED*/
off_t
_kvm_pa2off(kvm_t *kd, paddr_t pa)
{
-/* $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
return (pcap_inject(p, buf, size) == -1 ? -1 : 0);
}
-/* ARGSUSED */
static __inline int
bpf_open(pcap_t *p)
{
*
* 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>
}
/* Signal handler for trapping ^C */
-/*ARGSUSED*/
static void
trapped(int sig)
{
-/* $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>
return (1);
}
-/* ARGSUSED */
struct ibuf *
imsg_create(struct imsgbuf *ibuf, uint32_t type, uint32_t peerid, pid_t pid,
uint16_t datalen)
-/* $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
}
}
-/* ARGSUSED */
void
reapchildren(int signo)
{
errno = save_errno;
}
-/* ARGSUSED */
void
readutmp(int signo)
{
-/* $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 $ */
/*
return (0);
}
-/*ARGSUSED*/
void
toolong(int signo)
{
-/* $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 $ */
/*
/*
* Signal handlers.
*/
-/*ARGSUSED*/
static void
lostconn(int signo)
{
reply(502, "%s command not implemented.", s);
}
-/* ARGSUSED */
void
yyerror(char *s)
{
_exit(status);
}
-/*ARGSUSED*/
static void
sigurg(int signo)
{
}
}
-/*ARGSUSED*/
static void
reapchild(int signo)
{
-/* $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>
errno = olderrno;
}
-/* ARGSUSED */
void
sig_chld(int signo)
{
-/* $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>
exit (0);
}
-/*ARGSUSED*/
void
unhold(int signo)
{
-/* $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>
exit(1);
}
-/* ARGSUSED */
void
quit(int signo)
{
_exit(1);
}
-/* ARGSUSED */
void
suspend(int signo)
{
-/* $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.
int from_inetd = 1;
-/* ARGSUSED */
static void
cleanup(int signo)
{
-/* $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.
return (rstatproc_havedisk_3_svc(arg, rqstp));
}
-/* ARGSUSED */
void
updatestatsig(int sig)
{
-/* $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
volatile sig_atomic_t gotsig;
-/* ARGSUSED */
static void
getsig(int signo)
{
-/* $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
int from_inetd = 1;
int utmp_fd;
-/* ARGSUSED */
static void
cleanup(int signo)
{
-/* $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>
return (rv);
}
-/* ARGSUSED */
void
dispatch_rtmsg(int fd, short event, void *arg)
{
-/* $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.
};
/* If the parent gets a signal, kill off the children and exit */
-/* ARGSUSED */
static void
sig_term_chld(int sig)
{
-/* $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
#define MASK 2
#define DSTADDR 3
-/*ARGSUSED*/
void
setifaddr(const char *addr, int param)
{
}
#endif
-/* ARGSUSED */
void
setifnetmask(const char *addr, int ignored)
{
explicit_prefix = 1;
}
-/* ARGSUSED */
void
setifbroadaddr(const char *addr, int ignored)
{
afp->af_getaddr(addr, DSTADDR);
}
-/* ARGSUSED */
void
setifipdst(const char *addr, int ignored)
{
}
#define rqtosa(x) (&(((struct ifreq *)(afp->x))->ifr_addr))
-/*ARGSUSED*/
void
notealias(const char *addr, int param)
{
clearaddr = 0;
}
-/*ARGSUSED*/
void
setifdstaddr(const char *addr, int param)
{
}
}
-/* ARGSUSED */
static void
phys_status(int force)
{
phys_status(0);
}
-/* ARGSUSED */
void
in_status(int force)
{
putchar('\n');
}
-/* ARGSUSED */
void
setifprefixlen(const char *addr, int d)
{
freeaddrinfo(res);
}
-/* ARGSUSED */
void
deletetunnel(const char *ignored, int alsoignored)
{
}
}
-/* ARGSUSED */
void
in_getprefix(const char *plen, int which)
{
-/* $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 $ */
/*-
void child(int, int);
void catch_sigchld(int);
-/* ARGSUSED */
int
main(int argc, char *argv[])
{
-/* $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 $ */
/*-
void child(int, int, int);
void catch_sigchld(int);
-/* ARGSUSED */
int
main(int argc, char *argv[])
{
-/* $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 $ */
/*-
return (1);
}
-/* ARGSUSED */
static void
rmtconnaborted(int signo)
{
-/* $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 $ */
/*-
* sleep for 2 minutes in case nobody comes to satisfy dump
* XXX not safe
*/
-/* ARGSUSED */
void
alarmcatch(int signo)
{
/*
* Here if an inquisitive operator interrupts the dump program
*/
-/* ARGSUSED */
void
interrupt(int signo)
{
-/* $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 $ */
/*-
int nogripe = 0;
-/* ARGSUSED */
void
tperror(int signo)
{
Exit(X_REWRITE);
}
-/* ARGSUSED */
void
sigpipe(int signo)
{
* (derived from optr.c::timeest())
* XXX not safe
*/
-/* ARGSUSED */
void
statussig(int signo)
{
}
}
-/* ARGSUSED */
void
dumpabort(int signo)
{
/*
* proceed - handler for SIGUSR2, used to synchronize IO between the slaves.
*/
-/* ARGSUSED */
void
proceed(int signo)
{
-/* $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 $ */
/*
/*
* Check the specified filesystem.
*/
-/* ARGSUSED */
static int
checkfilesys(char *filesys, char *mntpt, long auxdata, int child)
{
-/* $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 $ */
/*
memmove(namebuf, cp, (size_t)(&namebuf[buflen] - cp));
}
-/*ARGSUSED*/
void
catch(int signo)
{
* a special exit after filesystem checks complete
* so that reboot sequence may be interrupted.
*/
-/*ARGSUSED*/
void
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)
{
-/* $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 $ */
/*
/*
* Check the specified filesystem.
*/
-/* ARGSUSED */
int
checkfilesys(char *filesys, char *mntpt, long auxdata, int child)
{
-/* $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 $ */
/*
memmove(namebuf, cp, (size_t)(&namebuf[PATH_MAX] - cp));
}
-/*ARGSUSED*/
void
catch(int signo)
{
* a special exit after filesystem checks complete
* so that reboot sequence may be interrupted.
*/
-/*ARGSUSED*/
void
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)
{
int (* info_fn)(char *, size_t) = NULL;
char *info_filesys = "?";
-/*ARGSUSED*/
void
catchinfo(int signo)
{
-/* $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 $ */
/*
}
}
-/*ARGSUSED*/
void
clone_create(const char *addr, int param)
{
err(1, "SIOCIFCREATE");
}
-/*ARGSUSED*/
void
clone_destroy(const char *addr, int param)
{
#define MASK 2
#define DSTADDR 3
-/*ARGSUSED*/
void
setifaddr(const char *addr, int param)
{
}
#endif
-/* ARGSUSED */
void
setifnetmask(const char *addr, int ignored)
{
explicit_prefix = 1;
}
-/* ARGSUSED */
void
setifbroadaddr(const char *addr, int ignored)
{
}
#ifndef SMALL
-/* ARGSUSED */
void
setifdesc(const char *val, int ignored)
{
warn("SIOCSIFDESCR");
}
-/* ARGSUSED */
void
unsetifdesc(const char *noval, int ignored)
{
warn("SIOCSIFDESCR");
}
-/* ARGSUSED */
void
setifipdst(const char *addr, int ignored)
{
#endif
#define rqtosa(x) (&(((struct ifreq *)(afp->x))->ifr_addr))
-/*ARGSUSED*/
void
notealias(const char *addr, int param)
{
clearaddr = 0;
}
-/*ARGSUSED*/
void
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)
{
err(1, "SIOCSIFFLAGS");
}
-/* ARGSUSED */
void
setifxflags(const char *vname, int value)
{
}
#ifndef SMALL
-/* ARGSUSED */
void
setifmetric(const char *val, int ignored)
{
}
#endif
-/* ARGSUSED */
void
setifmtu(const char *val, int d)
{
warn("SIOCSIFMTU");
}
-/* ARGSUSED */
void
setifllprio(const char *val, int d)
{
warn("SIOCSIFLLPRIO");
}
-/* ARGSUSED */
void
setifgroup(const char *group_name, int dummy)
{
}
}
-/* ARGSUSED */
void
unsetifgroup(const char *group_name, int dummy)
{
err(1, "SIOCS80211NWKEY");
}
-/* ARGSUSED */
void
setifwpa(const char *val, int d)
{
err(1, "SIOCS80211WPAPARMS");
}
-/* ARGSUSED */
void
setifwpaprotos(const char *val, int d)
{
err(1, "SIOCS80211WPAPARMS");
}
-/* ARGSUSED */
void
setifwpaakms(const char *val, int d)
{
return IEEE80211_WPA_CIPHER_NONE;
}
-/* ARGSUSED */
void
setifwpaciphers(const char *val, int d)
{
err(1, "SIOCS80211WPAPARMS");
}
-/* ARGSUSED */
void
setifwpagroupcipher(const char *val, int d)
{
warn("SIOCS80211CHANNEL");
}
-/* ARGSUSED */
void
setifscan(const char *val, int d)
{
setifnwflag(val, 1);
}
-/* ARGSUSED */
void
setifpowersave(const char *val, int d)
{
err(1, "SIOCSIFMEDIA");
}
-/* ARGSUSED */
void
setmedia(const char *val, int d)
{
/* Media will be set after other processing is complete. */
}
-/* ARGSUSED */
void
setmediamode(const char *val, int d)
{
/* Media will be set after other processing is complete. */
}
-/* ARGSUSED */
void
unsetmediaopt(const char *val, int d)
{
/* Media will be set after other processing is complete. */
}
-/* ARGSUSED */
void
setmediainst(const char *val, int d)
{
}
}
-/* ARGSUSED */
static void
phys_status(int force)
{
#endif
}
-/* ARGSUSED */
void
in_status(int force)
{
putchar('\n');
}
-/* ARGSUSED */
void
setifprefixlen(const char *addr, int d)
{
freeaddrinfo(res);
}
-/* ARGSUSED */
void
deletetunnel(const char *ignored, int alsoignored)
{
printf("\n");
}
-/* ARGSUSED */
void
setmplslabel(const char *val, int d)
{
warn("SIOCSVNETID");
}
-/* ARGSUSED */
void
delvnetid(const char *ignored, int alsoignored)
{
warn("SIOCSIFPARENT");
}
-/* ARGSUSED */
void
delifparent(const char *ignored, int alsoignored)
{
}
}
-/* ARGSUSED */
void
setcarp_passwd(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarp_vhid(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarp_advskew(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarp_advbase(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarppeer(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarp_state(const char *val, int d)
{
err(1, "SIOCSVH");
}
-/* ARGSUSED */
void
setcarpdev(const char *val, int d)
{
err(1, "SIOCSETPFSYNC");
}
-/* ARGSUSED */
void
unsetpfsync_syncdev(const char *val, int d)
{
err(1, "SIOCSETPFSYNC");
}
-/* ARGSUSED */
void
setpfsync_syncpeer(const char *val, int d)
{
freeaddrinfo(peerres);
}
-/* ARGSUSED */
void
unsetpfsync_syncpeer(const char *val, int d)
{
err(1, "SIOCSETPFSYNC");
}
-/* ARGSUSED */
void
setpfsync_maxupd(const char *val, int d)
{
putchar('\n');
}
-/* ARGSUSED */
void
setpppoe_dev(const char *val, int d)
{
err(1, "PPPOESETPARMS");
}
-/* ARGSUSED */
void
setpppoe_svc(const char *val, int d)
{
err(1, "PPPOESETPARMS");
}
-/* ARGSUSED */
void
setpppoe_ac(const char *val, int d)
{
errx(1, "%s: non-contiguous mask", s);
}
-/* ARGSUSED */
void
in_getprefix(const char *plen, int which)
{
return (result);
}
-/*ARGSUSED*/
void
setiflladdr(const char *addr, int param)
{
-/* $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>
return (0);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *arg)
{
-/* $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 $ */
/*
pcap_file = PCAP_FILE_DEFAULT;
}
-/* ARGSUSED */
static void
sighup(int sig)
{
}
/* Called on SIGTERM, SIGINT or by ui_shutdown_daemon(). */
-/* ARGSUSED */
void
daemon_shutdown_now(int sig)
{
-/* $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>
return 0;
}
-/* ARGSUSED */
void
coroner(int useless)
{
-/* $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 $ */
/*
exit(1);
}
-/* ARGSUSED */
void
nonfs(int signo)
{
errno = save_errno;
}
-/* ARGSUSED */
void
reapchild(int signo)
{
-/* $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.
#define DEFAULT_MESG "This account is currently not available.\n"
-/*ARGSUSED*/
int
main(int argc, char *argv[])
{
-/* $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 $ */
/*
* 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)
{
-/* $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 $ */
/*
/*
* Skip over a hole in a file.
*/
-/* ARGSUSED */
static void
xtrskip(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)
{
/*
* Skip over a hole in a bit map (should never happen).
*/
-/* ARGSUSED */
static void
xtrmapskip(char *buf, size_t size)
{
/*
* Noop, when an extraction function is not needed.
*/
-/* ARGSUSED */
void
xtrnull(char *buf, size_t size)
{
-/* $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 $ */
/*-
* psl to gain improper privileges or to cause
* a machine fault.
*/
-/* ARGSUSED */
int
sys_sigreturn(struct proc *p, void *v, register_t *retval)
{
-/* $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 $ */
/*-
* 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;
-/* $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 $ */
/*
return (h);
}
-/* ARGSUSED */
int
tc_mem_map(v, memaddr, memsize, flags, memhp)
void *v;
return (0);
}
-/* ARGSUSED */
void
tc_mem_unmap(v, memh, memsize)
void *v;
-/* $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"
* Double Floating-point Square Root
*/
-/*ARGSUSED*/
int
dbl_fsqrt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null, *dstptr;
-/* $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"
/*
* Single Floating-point to Double Floating-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvff(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
/*
* Double Floating-point to Single Floating-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvff(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
-/* $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"
/*
* Single Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
/*
* Single Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvfx(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
/*
* Double Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvfx(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
/*
* Double Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_dbl_fcnvfx(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
-/* $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"
* 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;
/*
* Single Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
sgl_to_dbl_fcnvfxt(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null;
/*
* Double Floating-point to Single Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_sgl_fcnvfxt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
/*
* Double Floating-point to Double Fixed-point
*/
-/*ARGSUSED*/
int
dbl_to_dbl_fcnvfxt(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null;
-/* $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"
* Single Floating-point Round to Integer
*/
-/*ARGSUSED*/
int
sgl_frnd(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null, *dstptr;
* Double Floating-point Round to Integer
*/
-/*ARGSUSED*/
int
dbl_frnd(srcptr, null, dstptr, status)
dbl_floating_point *srcptr, *null, *dstptr;
return(NOEXCEPTION);
}
-/*ARGSUSED*/
int
quad_frnd(srcptr, null, dstptr, status)
quad_floating_point *srcptr, *null, *dstptr;
-/* $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"
* Single Floating-point Square Root
*/
-/*ARGSUSED*/
int
sgl_fsqrt(srcptr, null, dstptr, status)
sgl_floating_point *srcptr, *null, *dstptr;
-/* $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
return (0);
}
-/*ARGSUSED*/
int
ctclose(f)
struct open_file *f;
/* $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
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)
{
return (0);
}
-/*ARGSUSED*/
int
mmclose(dev_t dev, int flag, int mode, struct proc *p)
{
-/* $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 $ */
/*-
* syscall(frame):
* System call request from POSIX system call gate interface to kernel.
*/
-/*ARGSUSED*/
void
syscall(struct trapframe *frame)
{
-/* $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 $ */
/*-
#endif
-/*ARGSUSED*/
void
wsintr(void *arg)
{
-/* $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.
#define HH_REG_CONF 0x90
-/*ARGSUSED*/
static int
mbmatch(struct device *parent, void *cfdata, void *aux)
{
-/* $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 $ */
/*-
return (0);
}
-/*ARGSUSED*/
void
pchbattach(struct device *parent, struct device *self, void *aux)
{
-/* $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.
* psl to gain improper privileges or to cause
* a machine fault.
*/
-/* ARGSUSED */
int
sys_sigreturn(struct proc *p, void *v, register_t *retval)
{
-/* $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 $ */
/*-
#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)
{
-/* $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 $ */
/*
return (buf);
}
-/* ARGSUSED */
static int
mbprint(void *aux, const char *name)
{
-/* $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 $ */
/*-
* 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)
{
-/* $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 $ */
/*
}
/* Delete breakpoint */
-/*ARGSUSED*/
void
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)
{
}
/* list breakpoints */
-/*ARGSUSED*/
void
db_listbreak_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
-/* $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 $ */
/*
}
}
-/*ARGSUSED*/
void
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)
{
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)
{
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)
{
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)
{
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)
{
}
#ifdef NFSCLIENT
-/*ARGSUSED*/
void
db_nfsreq_print_cmd(db_expr_t addr, int have_addr, db_expr_t count,
char *modif)
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)
}
#endif
-/*ARGSUSED*/
void
db_swap_print_cmd(db_expr_t addr, int have_addr, db_expr_t count,
char *modif)
swap_print_all(db_printf);
}
-/*ARGSUSED*/
void
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)
{
}
#endif
-/*ARGSUSED*/
void
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)
{
* Call random function:
* !expr(arg,arg,arg)
*/
-/*ARGSUSED*/
void
db_fncall(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)
{
-/* $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 $ */
/*
* 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)
{
*/
char db_print_format = 'x';
-/*ARGSUSED*/
void
db_print_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
* 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)
{
-/* $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 $ */
/*
}
/* single-step */
-/*ARGSUSED*/
void
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)
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)
}
/* continue */
-/*ARGSUSED*/
void
db_continue_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
-/* $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 $ */
/*
(*func)(vp, valuep, DB_VAR_SET);
}
-/*ARGSUSED*/
void
db_set_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
-/* $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 $ */
/*
}
/* Delete watchpoint */
-/*ARGSUSED*/
void
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)
{
}
/* list watchpoints */
-/*ARGSUSED*/
void
db_listwatch_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
{
-/* $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 $ */
/*
return (0);
}
-/*ARGSUSED*/
int
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)
{
-/* $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 $ */
/*
return 0;
}
-/* ARGSUSED */
int
cmpci_round_blocksize(void *handle, int block)
{
return 0;
}
-/* ARGSUSED */
size_t
cmpci_round_buffersize(void *handle, int direction, size_t bufsize)
{
-/* $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 $ */
/*
}
-/* ARGSUSED */
int
eso_open(void *hdl, int flags)
{
-/* $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
return error;
}
-/* ARGSUSED */
int
ipw_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)
-/* $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
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)
-/* $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 $ */
/*-
return (0);
}
-/* ARGSUSED */
void
pckbd_cngetc(void *v, u_int *type, int *data)
{
-/* $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.
* queue and entries from the consumer end of the queue which are
* likely to have collected more damage.
*/
-/* ARGSUSED */
void
dequeue_randomness(void *v)
{
return r % upper_bound;
}
-/* ARGSUSED */
void
rnd_init(void *null)
{
-/* $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
mtw_do_async(ic->ic_softc, mtw_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
mtw_updateedca_cb(struct mtw_softc *sc, void *arg)
{
mtw_do_async(ic->ic_softc, mtw_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
mtw_updateslot_cb(struct mtw_softc *sc, void *arg)
{
/* next timeout will be rescheduled in the calibration task */
}
-/* ARGSUSED */
void
mtw_calibrate_cb(struct mtw_softc *sc, void *arg)
{
-/* $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>
}
}
-/* ARGSUSED */
void
otus_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
{
otus_do_async(ic->ic_softc, otus_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
otus_updateedca_cb(struct otus_softc *sc, void *arg)
{
otus_do_async(ic->ic_softc, otus_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
otus_updateslot_cb(struct otus_softc *sc, void *arg)
{
-/* $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>
usbd_ref_decr(sc->sc_udev);
}
-/* ARGSUSED */
void
rsu_calib_cb(struct rsu_softc *sc, void *arg)
{
}
}
-/* ARGSUSED */
void
rsu_delete_key(struct ieee80211com *ic, struct ieee80211_node *ni,
struct ieee80211_key *k)
return (0);
}
-/* ARGSUSED */
int
rsu_send_mgmt(struct ieee80211com *ic, struct ieee80211_node *ni, int type,
int arg1, int arg2)
-/* $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>
run_do_async(ic->ic_softc, run_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
run_updateedca_cb(struct run_softc *sc, void *arg)
{
/* next timeout will be rescheduled in the calibration task */
}
-/* ARGSUSED */
void
run_calibrate_cb(struct run_softc *sc, void *arg)
{
run_do_async(ic->ic_softc, run_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
run_updateslot_cb(struct run_softc *sc, void *arg)
{
-/* $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>
usbd_ref_decr(sc->sc_udev);
}
-/* ARGSUSED */
void
urtwn_calib_cb(struct urtwn_softc *sc, void *arg)
{
urtwn_do_async(sc, urtwn_updateslot_cb, NULL, 0);
}
-/* ARGSUSED */
void
urtwn_updateslot_cb(struct urtwn_softc *sc, void *arg)
{
urtwn_do_async(sc, urtwn_updateedca_cb, NULL, 0);
}
-/* ARGSUSED */
void
urtwn_updateedca_cb(struct urtwn_softc *sc, void *arg)
{
-/* $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 $ */
/*
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)
{
return (DL_GETPSIZE(pi.part));
}
-/* ARGSUSED */
int
vndioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
{
-/* $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 $ */
/*-
/*
* Relocated directory
*/
-/*ARGSUSED*/
static int
cd9660_rrip_reldir(void *v, ISO_RRIP_ANALYZE *ana)
{
-/* $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 $ */
/*-
* Make a filesystem operational.
* Nothing to do at the moment.
*/
-/* ARGSUSED */
int
cd9660_start(struct mount *mp, int flags, struct proc *p)
{
/*
* 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)
return (0);
}
-/* ARGSUSED */
int
cd9660_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred,
struct proc *p)
long ifid_start;
};
-/* ARGSUSED */
int
cd9660_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp)
{
/*
* Vnode pointer to File handle
*/
-/* ARGSUSED */
int
cd9660_vptofh(struct vnode *vp, struct fid *fhp)
{
-/* $OpenBSD: cd9660_vnops.c,v 1.93 2022/06/26 05:20:42 visa Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.94 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
*
* Nothing to do.
*/
-/* ARGSUSED */
int
cd9660_open(void *v)
{
*
* Update the times on the inode on writeable file systems.
*/
-/* ARGSUSED */
int
cd9660_close(void *v)
{
return (error);
}
-/* ARGSUSED */
int
cd9660_ioctl(void *v)
{
*
* NB Currently unsupported.
*/
-/* ARGSUSED */
int
cd9660_mmap(void *v)
{
*
* Nothing to do, so just return.
*/
-/* ARGSUSED */
int
cd9660_seek(void *v)
{
/*
* Print out the contents of an inode.
*/
-/*ARGSUSED*/
int
cd9660_print(void *v)
{
-/* $OpenBSD: dev.c,v 1.4 2003/08/11 06:23:09 deraadt Exp $ */
+/* $OpenBSD: dev.c,v 1.5 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: dev.c,v 1.4 1994/10/30 21:48:23 cgd Exp $ */
/*-
{
}
-/* ARGSUSED */
int
noioctl(struct open_file *f, u_long cmd, void *data)
{
-/* $OpenBSD: dead_vnops.c,v 1.41 2022/06/26 05:20:42 visa Exp $ */
+/* $OpenBSD: dead_vnops.c,v 1.42 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */
/*
/*
* Open always fails as if device did not exist.
*/
-/* ARGSUSED */
int
dead_open(void *v)
{
/*
* Vnode op for read
*/
-/* ARGSUSED */
int
dead_read(void *v)
{
/*
* Vnode op for write
*/
-/* ARGSUSED */
int
dead_write(void *v)
{
/*
* Device ioctl operation.
*/
-/* ARGSUSED */
int
dead_ioctl(void *v)
{
/*
* Print out the contents of a dead vnode.
*/
-/* ARGSUSED */
int
dead_print(void *v)
{
/*
* Empty vnode failed operation
*/
-/*ARGSUSED*/
int
dead_ebadf(void *v)
{
-/* $OpenBSD: fifo_vnops.c,v 1.101 2023/01/27 18:46:34 mvs Exp $ */
+/* $OpenBSD: fifo_vnops.c,v 1.102 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: fifo_vnops.c,v 1.18 1996/03/16 23:52:42 christos Exp $ */
/*
* Open called to set up a new instance of a fifo or
* to find an active instance of a fifo.
*/
-/* ARGSUSED */
int
fifo_open(void *v)
{
/*
* Vnode op for read
*/
-/* ARGSUSED */
int
fifo_read(void *v)
{
/*
* Vnode op for write
*/
-/* ARGSUSED */
int
fifo_write(void *v)
{
/*
* Device ioctl operation.
*/
-/* ARGSUSED */
int
fifo_ioctl(void *v)
{
/*
* Device close routine
*/
-/* ARGSUSED */
int
fifo_close(void *v)
{
/*
* Fifo failed operation
*/
-/*ARGSUSED*/
int
fifo_ebadf(void *v)
{
/*
* Fifo advisory byte-level locks.
*/
-/* ARGSUSED */
int
fifo_advlock(void *v)
{
-/* $OpenBSD: msdosfs_denode.c,v 1.67 2022/08/23 20:37:16 cheloha Exp $ */
+/* $OpenBSD: msdosfs_denode.c,v 1.68 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */
/*-
static int msdosfs_hashins(struct denode *);
static void msdosfs_hashrem(struct denode *);
-/*ARGSUSED*/
int
msdosfs_init(struct vfsconf *vfsp)
{
-/* $OpenBSD: if_ether.c,v 1.257 2023/03/04 09:03:34 kn Exp $ */
+/* $OpenBSD: if_ether.c,v 1.258 2023/03/08 04:43:08 guenther Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
/*
* Timeout routine. Age arp_tab entries periodically.
*/
-/* ARGSUSED */
void
arptimer(void *arg)
{
-/* $OpenBSD: ip_carp.c,v 1.355 2022/09/08 10:22:06 kn Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.356 2023/03/08 04:43:09 guenther Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
* Interface side of the CARP implementation.
*/
-/* ARGSUSED */
void
carpattach(int n)
{
-/* $OpenBSD: nfs_kq.c,v 1.34 2021/12/11 09:28:26 visa Exp $ */
+/* $OpenBSD: nfs_kq.c,v 1.35 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */
/*-
* and exits when the watch list is empty. The overhead of thread creation
* isn't really important, neither speed of attach and detach of knote.
*/
-/* ARGSUSED */
void
nfs_kqpoll(void *arg)
{
-/* $OpenBSD: nfs_serv.c,v 1.121 2022/05/27 11:10:54 mpi Exp $ */
+/* $OpenBSD: nfs_serv.c,v 1.122 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */
/*
/*
* Null operation, used by clients to ping server
*/
-/* ARGSUSED */
int
nfsrv_null(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct proc *procp, struct mbuf **mrq)
/*
* No operation, used for obsolete procedures
*/
-/* ARGSUSED */
int
nfsrv_noop(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
struct proc *procp, struct mbuf **mrq)
-/* $OpenBSD: nfs_vfsops.c,v 1.127 2022/08/12 14:30:53 visa Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.128 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
* doing the sockargs() call because sockargs() allocates an mbuf and
* an error after that means that I have to release the mbuf.
*/
-/* ARGSUSED */
int
nfs_mount(struct mount *mp, const char *path, void *data,
struct nameidata *ndp, struct proc *p)
* NFS flat namespace lookup.
* Currently unsupported.
*/
-/* ARGSUSED */
int
nfs_vget(struct mount *mp, ino_t ino, struct vnode **vpp)
{
/*
* At this point, this should never happen
*/
-/* ARGSUSED */
int
nfs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp)
{
/*
* Vnode pointer to File handle, should never happen either
*/
-/* ARGSUSED */
int
nfs_vptofh(struct vnode *vp, struct fid *fhp)
{
/*
* Vfs start routine, a no-op.
*/
-/* ARGSUSED */
int
nfs_start(struct mount *mp, int flags, struct proc *p)
{
/*
* Do operations associated with quotas, not supported
*/
-/* ARGSUSED */
int
nfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg, struct proc *p)
{
-/* $OpenBSD: nfs_vnops.c,v 1.190 2022/08/12 14:30:53 visa Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.191 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
* Fake it. For v3 we could ask the server, but such code
* hasn't been written yet.
*/
-/* ARGSUSED */
int
nfs_pathconf(void *v)
{
-/* $OpenBSD: tree.h,v 1.30 2020/10/10 18:03:41 otto Exp $ */
+/* $OpenBSD: tree.h,v 1.31 2023/03/08 04:43:09 guenther Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
return (res); \
} \
\
-/* ARGSUSED */ \
attr struct type * \
name##_RB_NEXT(struct type *elm) \
{ \
return (elm); \
} \
\
-/* ARGSUSED */ \
attr struct type * \
name##_RB_PREV(struct type *elm) \
{ \
-/* $OpenBSD: ext2fs_readwrite.c,v 1.45 2019/11/27 16:12:13 beck Exp $ */
+/* $OpenBSD: ext2fs_readwrite.c,v 1.46 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: ext2fs_readwrite.c,v 1.16 2001/02/27 04:37:47 chs Exp $ */
/*-
/*
* Vnode op for reading.
*/
-/* ARGSUSED */
int
ext2fs_read(void *v)
{
-/* $OpenBSD: ext2fs_vfsops.c,v 1.117 2022/08/12 14:30:53 visa Exp $ */
+/* $OpenBSD: ext2fs_vfsops.c,v 1.118 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */
/*
/*
* Vnode pointer to File handle
*/
-/* ARGSUSED */
int
ext2fs_vptofh(struct vnode *vp, struct fid *fhp)
{
-/* $OpenBSD: ext2fs_vnops.c,v 1.90 2022/06/26 05:20:42 visa Exp $ */
+/* $OpenBSD: ext2fs_vnops.c,v 1.91 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: ext2fs_vnops.c,v 1.1 1997/06/11 09:34:09 bouyer Exp $ */
/*
/*
* Mknod vnode call
*/
-/* ARGSUSED */
int
ext2fs_mknod(void *v)
{
*
* Just check the APPEND flag.
*/
-/* ARGSUSED */
int
ext2fs_open(void *v)
{
ip->i_e2fs_gid, mode, ap->a_cred));
}
-/* ARGSUSED */
int
ext2fs_getattr(void *v)
{
/*
* Synch an open file.
*/
-/* ARGSUSED */
int
ext2fs_fsync(void *v)
{
-/* $OpenBSD: ufs_vfsops.c,v 1.19 2015/03/14 03:38:53 jsg Exp $ */
+/* $OpenBSD: ufs_vfsops.c,v 1.20 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: ufs_vfsops.c,v 1.4 1996/02/09 22:36:12 christos Exp $ */
/*
* Make a filesystem operational.
* Nothing to do at the moment.
*/
-/* ARGSUSED */
int
ufs_start(struct mount *mp, int flags, struct proc *p)
{
-/* $OpenBSD: ufs_vnops.c,v 1.156 2022/06/26 05:20:43 visa Exp $ */
+/* $OpenBSD: ufs_vnops.c,v 1.157 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: ufs_vnops.c,v 1.18 1996/05/11 18:28:04 mycroft Exp $ */
/*
}
-/* ARGSUSED */
int
ufs_ioctl(void *v)
{
-/* $OpenBSD: uvm_mmap.c,v 1.179 2023/02/16 04:42:08 deraadt Exp $ */
+/* $OpenBSD: uvm_mmap.c,v 1.180 2023/03/08 04:43:09 guenther Exp $ */
/* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */
/*
/*
* sys_madvise: give advice about memory usage.
*/
-/* ARGSUSED */
int
sys_madvise(struct proc *p, void *v, register_t *retval)
{
-/* $OpenBSD: at.c,v 1.83 2019/11/29 03:12:35 cheloha Exp $ */
+/* $OpenBSD: at.c,v 1.84 2023/03/08 04:43:10 guenther Exp $ */
/*
* at.c : Put file into atrun queue
exit(EXIT_FAILURE);
}
-/* ARGSUSED */
static void
sigc(int signo)
{
%{
-/* $OpenBSD: bc.y,v 1.52 2020/06/30 14:27:02 otto Exp $ */
+/* $OpenBSD: bc.y,v 1.53 2023/03/08 04:43:10 guenther Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
return ret;
}
-/* ARGSUSED */
static void
sigchld(int signo)
{
%{
-/* $OpenBSD: scan.l,v 1.31 2021/08/09 19:13:56 otto Exp $ */
+/* $OpenBSD: scan.l,v 1.32 2023/03/08 04:43:10 guenther Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
strlcat(strbuf, str, strbuf_sz);
}
-/* ARGSUSED */
void
abort_line(int sig)
{
-/* $OpenBSD: tty.c,v 1.4 2017/07/02 23:19:07 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.5 2023/03/08 04:43:10 guenther Exp $ */
/*
* Copyright (c) 2013, Otto Moerbeek <otto@drijf.net>
return ret;
}
-/* ARGSUSED */
void
tstpcont(int sig)
{
-/* $OpenBSD: cdio.c,v 1.85 2022/12/22 19:53:22 kn Exp $ */
+/* $OpenBSD: cdio.c,v 1.86 2023/03/08 04:43:10 guenther Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
return play_msf(m1, s1, f1, m2, s2, f2);
}
-/* ARGSUSED */
int
play_prev(char *arg)
{
return (0);
}
-/* ARGSUSED */
int
play_same(char *arg)
{
return (0);
}
-/* ARGSUSED */
int
play_next(char *arg)
{
}
}
-/* ARGSUSED */
int
pstatus(char *arg)
{
return id ? 0 : 1;
}
-/* ARGSUSED */
int
info(char *arg)
{
-/* $OpenBSD: chpass.c,v 1.49 2022/12/04 23:50:47 cheloha Exp $ */
+/* $OpenBSD: chpass.c,v 1.50 2023/03/08 04:43:10 guenther Exp $ */
/* $NetBSD: chpass.c,v 1.8 1996/05/15 21:50:43 jtc Exp $ */
/*-
errx(1, "%s", strerror(EACCES));
}
-/* ARGSUSED */
void
kbintr(int signo)
{
-/* $OpenBSD: field.c,v 1.14 2015/01/16 06:40:06 deraadt Exp $ */
+/* $OpenBSD: field.c,v 1.15 2023/03/08 04:43:10 guenther Exp $ */
/* $NetBSD: field.c,v 1.3 1995/03/26 04:55:28 glass Exp $ */
/*
#include "chpass.h"
-/* ARGSUSED */
int
p_login(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_passwd(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_uid(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_gid(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_class(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_change(char *p, struct passwd *pw, ENTRY *ep)
{
return (1);
}
-/* ARGSUSED */
int
p_expire(char *p, struct passwd *pw, ENTRY *ep)
{
return (1);
}
-/* ARGSUSED */
int
p_gecos(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_hdir(char *p, struct passwd *pw, ENTRY *ep)
{
return (0);
}
-/* ARGSUSED */
int
p_shell(char *p, struct passwd *pw, ENTRY *ep)
{
-/* $OpenBSD: csplit.c,v 1.11 2022/12/22 19:53:22 kn Exp $ */
+/* $OpenBSD: csplit.c,v 1.12 2023/03/08 04:43:10 guenther Exp $ */
/* $FreeBSD: src/usr.bin/csplit/csplit.c,v 1.9 2004/03/22 11:15:03 tjr Exp $ */
/*-
exit(1);
}
-/* ARGSUSED */
void
handlesig(int sig)
{
-/* $OpenBSD: cut.c,v 1.27 2022/12/04 23:50:47 cheloha Exp $ */
+/* $OpenBSD: cut.c,v 1.28 2023/03/08 04:43:10 guenther Exp $ */
/* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */
/*
memset(positions + 1, '1', autostart);
}
-/* ARGSUSED */
void
b_cut(FILE *fp, char *fname)
{
%{
-/* $OpenBSD: date.y,v 1.26 2017/07/20 13:39:11 okan Exp $ */
+/* $OpenBSD: date.y,v 1.27 2023/03/08 04:43:10 guenther Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
}
#if defined(TEST)
-/* ARGSUSED */
int
main(int argc, char **argv)
{
-/* $OpenBSD: bcode.c,v 1.62 2017/12/29 08:16:55 otto Exp $ */
+/* $OpenBSD: bcode.c,v 1.63 2023/03/08 04:43:10 guenther Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
#define nitems(a) (sizeof((a)) / sizeof((a)[0]))
#endif
-/* ARGSUSED */
static void
sighandler(int ignored)
{
-/* $OpenBSD: inout.c,v 1.22 2021/11/10 04:39:16 tb Exp $ */
+/* $OpenBSD: inout.c,v 1.23 2023/03/08 04:43:10 guenther Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
(void)ungetc(src->lastchar, src->u.stream);
}
-/* ARGSUSED */
static void
src_freestream(struct source *src)
{
-/* $OpenBSD: deroff.c,v 1.16 2023/02/17 18:00:35 miod Exp $ */
+/* $OpenBSD: deroff.c,v 1.17 2023/03/08 04:43:10 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
namechain = q;
}
-/*ARGSUSED*/
void
textline(char *str, int constant)
{
-/* $OpenBSD: function.c,v 1.52 2023/03/07 17:43:59 guenther Exp $ */
+/* $OpenBSD: function.c,v 1.53 2023/03/08 04:43:10 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
return(1);
}
-/* ARGSUSED */
int
f_print0(PLAN *plan, FTSENT *entry)
{
-/* $OpenBSD: misc.c,v 1.17 2020/09/30 16:37:12 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.18 2023/03/08 04:43:11 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
* show_path --
* called on SIGINFO
*/
-/* ARGSUSED */
void
show_path(int signo)
{
-/* $OpenBSD: cmds.c,v 1.84 2019/11/18 04:37:35 deraadt Exp $ */
+/* $OpenBSD: cmds.c,v 1.85 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */
/*
/*
* Set ascii transfer type.
*/
-/*ARGSUSED*/
void
setascii(int argc, char *argv[])
{
/*
* Set file transfer mode.
*/
-/*ARGSUSED*/
void
setftmode(int argc, char *argv[])
{
/*
* Set file transfer format.
*/
-/*ARGSUSED*/
void
setform(int argc, char *argv[])
{
/*
* Set file transfer structure.
*/
-/*ARGSUSED*/
void
setstruct(int argc, char *argv[])
{
/*
* Show status.
*/
-/*ARGSUSED*/
void
status(int argc, char *argv[])
{
/*
* Set beep on cmd completed mode.
*/
-/*ARGSUSED*/
void
setbell(int argc, char *argv[])
{
/*
* Set command line editing
*/
-/*ARGSUSED*/
void
setedit(int argc, char *argv[])
{
/*
* Toggle use of IPv4 EPSV/EPRT
*/
-/*ARGSUSED*/
void
setepsv4(int argc, char *argv[])
{
/*
* Turn on packet tracing.
*/
-/*ARGSUSED*/
void
settrace(int argc, char *argv[])
{
/*
* Toggle hash mark printing during transfers, or set hash mark bytecount.
*/
-/*ARGSUSED*/
void
sethash(int argc, char *argv[])
{
/*
* Turn on printing of server echo's.
*/
-/*ARGSUSED*/
void
setverbose(int argc, char *argv[])
{
/*
* Toggle PORT/LPRT cmd use before each data connection.
*/
-/*ARGSUSED*/
void
setport(int argc, char *argv[])
{
/*
* Toggle transfer progress bar.
*/
-/*ARGSUSED*/
void
setprogress(int argc, char *argv[])
{
/*
* Turn on interactive prompting during mget, mput, and mdelete.
*/
-/*ARGSUSED*/
void
setprompt(int argc, char *argv[])
{
/*
* Toggle gate-ftp mode, or set gate-ftp server
*/
-/*ARGSUSED*/
void
setgate(int argc, char *argv[])
{
/*
* Toggle metacharacter interpretation on local file names.
*/
-/*ARGSUSED*/
void
setglob(int argc, char *argv[])
{
/*
* Toggle preserving modification times on retrieved files.
*/
-/*ARGSUSED*/
void
setpreserve(int argc, char *argv[])
{
/*
* Set debugging mode on/off and/or set level of debugging.
*/
-/*ARGSUSED*/
void
setdebug(int argc, char *argv[])
{
/*
* Do a shell escape
*/
-/*ARGSUSED*/
void
shell(int argc, char *argv[])
{
/*
* Print working directory on remote machine.
*/
-/*ARGSUSED*/
void
pwd(int argc, char *argv[])
{
/*
* Print working directory on local machine.
*/
-/* ARGSUSED */
void
lpwd(int argc, char *argv[])
{
/*
* Terminate session and exit.
*/
-/*ARGSUSED*/
void
quit(int argc, char *argv[])
{
jmp_buf abortprox;
-/* ARGSUSED */
void
proxabort(int signo)
{
}
/* change directory to parent directory */
-/* ARGSUSED */
void
cdup(int argc, char *argv[])
{
/*
* Show remote system type
*/
-/* ARGSUSED */
void
syst(int argc, char *argv[])
{
-/* $OpenBSD: fetch.c,v 1.213 2022/12/26 19:16:01 jmc Exp $ */
+/* $OpenBSD: fetch.c,v 1.214 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
/*
* Abort a http retrieval
*/
-/* ARGSUSED */
static void
aborthttp(int signo)
{
-/* $OpenBSD: ftp.c,v 1.108 2022/09/15 12:47:10 millert Exp $ */
+/* $OpenBSD: ftp.c,v 1.109 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */
/*
return (NULL);
}
-/* ARGSUSED */
void
cmdabort(int signo)
{
#ifndef SMALL
jmp_buf sendabort;
-/* ARGSUSED */
void
abortsend(int signo)
{
jmp_buf recvabort;
-/* ARGSUSED */
void
abortrecv(int signo)
{
return (fdopen(data, lmode));
}
-/* ARGSUSED */
void
psummary(int signo)
{
errno = save_errno;
}
-/* ARGSUSED */
void
psabort(int signo)
{
}
}
-/* ARGSUSED */
void
abortpt(int signo)
{
}
#ifndef SMALL
-/* ARGSUSED */
void
reset(int argc, char *argv[])
{
jmp_buf forceabort;
-/* ARGSUSED */
static void
abortforce(int signo)
{
-/* $OpenBSD: small.c,v 1.12 2019/11/18 04:37:35 deraadt Exp $ */
+/* $OpenBSD: small.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */
/*
/*
* Set binary transfer type.
*/
-/*ARGSUSED*/
void
setbinary(int argc, char *argv[])
{
}
/* XXX - Signal race. */
-/* ARGSUSED */
void
mabort(int signo)
{
/*
* Terminate session, but don't exit.
*/
-/* ARGSUSED */
void
disconnect(int argc, char *argv[])
{
-/* $OpenBSD: util.c,v 1.97 2022/09/19 21:14:38 millert Exp $ */
+/* $OpenBSD: util.c,v 1.98 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */
/*-
ctty_pgrp == pgrp));
}
-/* ARGSUSED */
static void
updateprogressmeter(int signo)
{
/*
* Update the global ttywidth value, using TIOCGWINSZ.
*/
-/* ARGSUSED */
void
setttywidth(int signo)
{
-/* $OpenBSD: ipcrm.c,v 1.12 2015/07/26 22:17:34 chl Exp $*/
+/* $OpenBSD: ipcrm.c,v 1.13 2023/03/08 04:43:11 guenther Exp $*/
/*
* Copyright (c) 1994 Adam Glass
return (semctl(id, 0, IPC_RMID, arg));
}
-/* ARGSUSED */
void
not_configured(int signo)
{
-/* $OpenBSD: ktrace.c,v 1.39 2022/02/22 17:35:01 deraadt Exp $ */
+/* $OpenBSD: ktrace.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: ktrace.c,v 1.4 1995/08/31 23:01:44 jtc Exp $ */
/*-
exit(1);
}
-/* ARGSUSED */
static void
no_ktrace(int signo)
{
-/* $OpenBSD: login.c,v 1.73 2021/10/24 21:24:16 deraadt Exp $ */
+/* $OpenBSD: login.c,v 1.74 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */
/*-
(void)close(fd);
}
-/* ARGSUSED */
void
sigint(int signo)
{
return; /* just interrupt syscall */
}
-/* ARGSUSED */
void
timedout(int signo)
{
-/* $OpenBSD: cmd3.c,v 1.29 2023/02/08 08:24:29 tb Exp $ */
+/* $OpenBSD: cmd3.c,v 1.30 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: cmd3.c,v 1.8 1997/07/09 05:29:49 mikel Exp $ */
/*
/*
* Fork an interactive shell.
*/
-/*ARGSUSED*/
int
dosh(void *v)
{
/*
* The do nothing command for comments.
*/
-/*ARGSUSED*/
int
null(void *v)
{
-/* $OpenBSD: head.c,v 1.12 2014/01/17 18:42:30 okan Exp $ */
+/* $OpenBSD: head.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: head.c,v 1.6 1996/12/28 07:11:03 tls Exp $ */
/*
return(1);
}
-/*ARGSUSED*/
void
fail(char *linebuf, char *reason)
{
-/* $OpenBSD: lex.c,v 1.42 2021/10/24 21:24:16 deraadt Exp $ */
+/* $OpenBSD: lex.c,v 1.43 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */
/*
/*
* Print the current version number.
*/
-/*ARGSUSED*/
int
pversion(void *v)
{
-/* $OpenBSD: popen.c,v 1.39 2019/06/28 13:35:02 deraadt Exp $ */
+/* $OpenBSD: popen.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: popen.c,v 1.6 1997/05/13 06:48:42 mikel Exp $ */
/*
child_freelist = cp;
}
-/* ARGSUSED */
void
sigchild(int signo)
{
-/* $OpenBSD: send.c,v 1.25 2019/03/19 13:26:27 millert Exp $ */
+/* $OpenBSD: send.c,v 1.26 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: send.c,v 1.6 1996/06/08 19:48:39 christos Exp $ */
/*
/*
* Save the outgoing mail on the passed file.
*/
-/*ARGSUSED*/
int
savemail(char *name, FILE *fi)
{
return(0);
}
-/*ARGSUSED*/
void
sendint(int s)
{
-/* $OpenBSD: tty.c,v 1.22 2019/06/28 13:35:02 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.23 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: tty.c,v 1.7 1997/07/09 05:25:46 mikel Exp $ */
/*
errno = save_errno;
}
-/*ARGSUSED*/
void
ttyint(int s)
{
-/* $OpenBSD: job.c,v 1.163 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: job.c,v 1.164 2023/03/08 04:43:11 guenther Exp $ */
/* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */
/*
* to ABORT_ERROR so no more jobs will be started.
*-----------------------------------------------------------------------
*/
-/*ARGSUSED*/
static void
postprocess_job(Job *job)
-/* $OpenBSD: autoexec.c,v 1.18 2021/04/21 14:45:28 lum Exp $ */
+/* $OpenBSD: autoexec.c,v 1.19 2023/03/08 04:43:11 guenther Exp $ */
/* this file is in the public domain */
/* Author: Vincent Labrecque <vincent@openbsd.org> April 2002 */
* function to execute when a file matching the specified pattern
* is read into a buffer.
*/
-/* ARGSUSED */
int
auto_execute(int f, int n)
{
-/* $OpenBSD: basic.c,v 1.51 2022/05/24 16:42:19 op Exp $ */
+/* $OpenBSD: basic.c,v 1.52 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain */
/*
* Go to beginning of line.
*/
-/* ARGSUSED */
int
gotobol(int f, int n)
{
* 0. Error if you try to move back from
* the beginning of the buffer.
*/
-/* ARGSUSED */
int
backchar(int f, int n)
{
/*
* Go to end of line.
*/
-/* ARGSUSED */
int
gotoeol(int f, int n)
{
* 0. Error if you try to move forward
* from the end of the buffer.
*/
-/* ARGSUSED */
int
forwchar(int f, int n)
{
* actually do it. The last command controls how
* the goal column is set.
*/
-/* ARGSUSED */
int
forwline(int f, int n)
{
* call your alternate. Figure out the new line and
* call "movedot" to perform the motion.
*/
-/* ARGSUSED */
int
backline(int f, int n)
{
* the window is zapped, we have to do a hard
* update and get it back.
*/
-/* ARGSUSED */
int
forwpage(int f, int n)
{
* hard update is done because the top line in
* the window is zapped.
*/
-/* ARGSUSED */
int
backpage(int f, int n)
{
* to the value of dot. A message is written to
* the echo line. (ewprintf knows about macros)
*/
-/* ARGSUSED */
int
setmark(int f, int n)
{
}
/* Clear the mark, if set. */
-/* ARGSUSED */
int
clearmark(int f, int n)
{
* that moves the mark about. The only possible
* error is "no mark".
*/
-/* ARGSUSED */
int
swapmark(int f, int n)
{
* it is the line number, else prompt for a line number
* to use.
*/
-/* ARGSUSED */
int
gotoline(int f, int n)
{
-/* $OpenBSD: bell.c,v 1.6 2021/05/06 12:44:21 lum Exp $ */
+/* $OpenBSD: bell.c,v 1.7 2023/03/08 04:43:11 guenther Exp $ */
/*
* This file is in the public domain.
}
}
-/* ARGSUSED */
int
toggleaudiblebell(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
togglevisiblebell(int f, int n)
{
-/* $OpenBSD: buffer.c,v 1.112 2021/03/26 15:02:10 lum Exp $ */
+/* $OpenBSD: buffer.c,v 1.113 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
/* Flag for global working dir */
extern int globalwd;
-/* ARGSUSED */
int
togglereadonlyall(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
togglereadonly(int f, int n)
{
* from some other window. *scratch* is the default alternate
* buffer.
*/
-/* ARGSUSED */
int
usebuffer(int f, int n)
{
/*
* pop to buffer asked for by the user.
*/
-/* ARGSUSED */
int
poptobuffer(int f, int n)
{
* if the buffer has been changed). Then free the header
* line and the buffer header. Bound to "C-x k".
*/
-/* ARGSUSED */
int
killbuffer_cmd(int f, int n)
{
/*
* Save some buffers - just call anycb with the arg flag.
*/
-/* ARGSUSED */
int
savebuffers(int f, int n)
{
* then pops the data onto the screen. Bound to
* "C-x C-b".
*/
-/* ARGSUSED */
int
listbuffers(int f, int n)
{
/*
* Insert another buffer at dot. Very useful.
*/
-/* ARGSUSED */
int
bufferinsert(int f, int n)
{
/*
* Turn off the dirty bit on this buffer.
*/
-/* ARGSUSED */
int
notmodified(int f, int n)
{
/*
* Revert the current buffer to whatever is on disk.
*/
-/* ARGSUSED */
int
revertbuffer(int f, int n)
{
/*
* Diff the current buffer to what is on disk.
*/
-/*ARGSUSED */
int
diffbuffer(int f, int n)
{
-/* $OpenBSD: cscope.c,v 1.21 2022/05/24 16:42:19 op Exp $ */
+/* $OpenBSD: cscope.c,v 1.22 2023/03/08 04:43:11 guenther Exp $ */
/*
* This file is in the public domain.
/*
* Find this symbol. Bound to C-c s s
*/
-/* ARGSUSED */
int
cssymbol(int f, int n)
{
/*
* Find this global definition. Bound to C-c s d
*/
-/* ARGSUSED */int
+int
csdefinition(int f, int n)
{
return (do_cscope(CSDEFINITION));
/*
* Find functions called by this function. Bound to C-c s l
*/
-/* ARGSUSED */
int
csfuncalled(int f, int n)
{
/*
* Find functions calling this function. Bound to C-c s c
*/
-/* ARGSUSED */
int
cscallerfuncs(int f, int n)
{
/*
* Find this text. Bound to C-c s t
*/
-/* ARGSUSED */
int
csfindtext(int f, int n)
{
/*
* Find this egrep pattern. Bound to C-c s e
*/
-/* ARGSUSED */
int
csegrep(int f, int n)
{
/*
* Find this file. Bound to C-c s f
*/
-/* ARGSUSED */
int
csfindfile(int f, int n)
{
/*
* Find files #including this file. Bound to C-c s i
*/
-/* ARGSUSED */
int
csfindinc(int f, int n)
{
* Create list of files to index in the given directory
* using cscope-indexer.
*/
-/* ARGSUSED */
int
cscreatelist(int f, int n)
{
/*
* Next Symbol. Bound to C-c s n
*/
-/* ARGSUSED */
int
csnextmatch(int f, int n)
{
/*
* Previous Symbol. Bound to C-c s p
*/
-/* ARGSUSED */
int
csprevmatch(int f, int n)
{
-/* $OpenBSD: dir.c,v 1.32 2022/01/28 06:18:41 guenther Exp $ */
+/* $OpenBSD: dir.c,v 1.33 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
/*
* Change current working directory.
*/
-/* ARGSUSED */
int
changedir(int f, int n)
{
/*
* Show current directory.
*/
-/* ARGSUSED */
int
showcwdir(int f, int n)
{
}
/* Create the directory and its parents. */
-/* ARGSUSED */
int
makedir(int f, int n)
{
-/* $OpenBSD: dired.c,v 1.101 2022/10/15 17:01:14 op Exp $ */
+/* $OpenBSD: dired.c,v 1.102 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
dobindkey(fundamental_map, "dired", "^Xd");
}
-/* ARGSUSED */
int
dired(int f, int n)
{
return (showbuffer(bp, curwp, WFFULL | WFMODE));
}
-/* ARGSUSED */
int
d_otherwindow(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
d_del(int f, int n)
{
return (d_warpdot(curwp->w_dotp, &curwp->w_doto));
}
-/* ARGSUSED */
int
d_undel(int f, int n)
{
return (d_warpdot(curwp->w_dotp, &curwp->w_doto));
}
-/* ARGSUSED */
int
d_undelbak(int f, int n)
{
return (d_warpdot(curwp->w_dotp, &curwp->w_doto));
}
-/* ARGSUSED */
int
d_findfile(int f, int n)
{
return (readin(fname));
}
-/* ARGSUSED */
int
d_ffotherwindow(int f, int n)
{
return (readin(fname));
}
-/* ARGSUSED */
int
d_expunge(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
d_copy(int f, int n)
{
return (showbuffer(bp, curwp, WFFULL | WFMODE));
}
-/* ARGSUSED */
int
d_rename(int f, int n)
{
return (showbuffer(bp, curwp, WFFULL | WFMODE));
}
-/* ARGSUSED */
void
reaper(int signo __attribute__((unused)))
{
/*
* Pipe the currently selected file through a shell command.
*/
-/* ARGSUSED */
int
d_shell_command(int f, int n)
{
return ret;
}
-/* ARGSUSED */
int
d_create_directory(int f, int n)
{
return (showbuffer(bp, curwp, WFFULL | WFMODE));
}
-/* ARGSUSED */
int
d_killbuffer_cmd(int f, int n)
{
-/* $OpenBSD: display.c,v 1.49 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: display.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Since we don't have variables (we probably should) these are command
* processors for changing the values of mode flags.
*/
-/* ARGSUSED */
int
linenotoggle(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
colnotoggle(int f, int n)
{
-/* $OpenBSD: extend.c,v 1.76 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: extend.c,v 1.77 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
/*
/*
* Insert a string, mainly for use from macros (created by selfinsert).
*/
-/* ARGSUSED */
int
insert(int f, int n)
{
/*
* This function modifies the fundamental keyboard map.
*/
-/* ARGSUSED */
int
bindtokey(int f, int n)
{
/*
* This function modifies the current mode's keyboard map.
*/
-/* ARGSUSED */
int
localbind(int f, int n)
{
/*
* This function redefines a key in any keymap.
*/
-/* ARGSUSED */
int
redefine_key(int f, int n)
{
return (dobind(mp, buf, FALSE));
}
-/* ARGSUSED */
int
unbindtokey(int f, int n)
{
return (dobind(fundamental_map, "Global unset key: ", TRUE));
}
-/* ARGSUSED */
int
localunbind(int f, int n)
{
* Use strlen for length of line, assume user is not typing in a '\0' in the
* modeline. llen only used for foundparen() so old-school will be ok.
*/
-/* ARGSUSED */
int
evalexpr(int f, int n)
{
* evalbuffer - evaluate the current buffer as line commands. Useful for
* testing startup files.
*/
-/* ARGSUSED */
int
evalbuffer(int f, int n)
{
* evalfile - go get a file and evaluate it as line commands. You can
* go get your own startup file if need be.
*/
-/* ARGSUSED */
int
evalfile(int f, int n)
{
-/* $OpenBSD: file.c,v 1.102 2019/06/22 15:03:43 lum Exp $ */
+/* $OpenBSD: file.c,v 1.103 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Insert a file into the current buffer. Real easy - just call the
* insertfile routine with the file name.
*/
-/* ARGSUSED */
int
fileinsert(int f, int n)
{
* if you can find it, just switch to the buffer. If you cannot find the
* file, create a new buffer, read in the text, and switch to the new buffer.
*/
-/* ARGSUSED */
int
filevisit(int f, int n)
{
* buffer is killed before the switch. If the kill fails, or is aborted,
* revert to the original file.
*/
-/* ARGSUSED */
int
filevisitalt(int f, int n)
{
* Pop to a file in the other window. Same as the last function, but uses
* popbuf instead of showbuffer.
*/
-/* ARGSUSED */
int
poptofile(int f, int n)
{
* This handling of file names is different from the earlier versions and
* is more compatible with Gosling EMACS than with ITS EMACS.
*/
-/* ARGSUSED */
int
filewrite(int f, int n)
{
*/
static int makebackup = TRUE;
-/* ARGSUSED */
int
filesave(int f, int n)
{
* is given, sets makebackup to true, so backups are made. If an argument is
* given, no backup files are made when saving a new version of a file.
*/
-/* ARGSUSED */
int
makebkfile(int f, int n)
{
-/* $OpenBSD: fileio.c,v 1.108 2021/03/01 10:51:14 lum Exp $ */
+/* $OpenBSD: fileio.c,v 1.109 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
/*
* Close a file.
*/
-/* ARGSUSED */
int
ffclose(FILE *ffp, struct buffer *bp)
{
-/* $OpenBSD: grep.c,v 1.49 2021/03/01 10:51:14 lum Exp $ */
+/* $OpenBSD: grep.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain */
maps_add((KEYMAP *)&compilemap, "compile");
}
-/* ARGSUSED */
static int
grep(int f, int n)
{
return (TRUE);
}
-/* ARGSUSED */
int
compile(int f, int n)
{
}
/* id-utils foo. */
-/* ARGSUSED */
static int
gid(int f, int n)
{
return (bp);
}
-/* ARGSUSED */
static int
compile_goto_error(int f, int n)
{
return (FALSE);
}
-/* ARGSUSED */
int
next_error(int f, int n)
{
* Since we don't have variables (we probably should) these are command
* processors for changing the values of mode flags.
*/
-/* ARGSUSED */
int
globalwdtoggle(int f, int n)
{
-/* $OpenBSD: help.c,v 1.36 2022/01/28 06:18:41 guenther Exp $ */
+/* $OpenBSD: help.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Read a key from the keyboard, and look it up in the keymap.
* Display the name of the function currently bound to the key.
*/
-/* ARGSUSED */
int
desckey(int f, int n)
{
* keys and their current bindings, and stores the table in the
* *help* pop-up buffer. This lets Mg produce its own wall chart.
*/
-/* ARGSUSED */
int
wallchart(int f, int n)
{
return ((*funct)(f, n));
}
-/* ARGSUSED */
int
apropos_command(int f, int n)
{
-/* $OpenBSD: kbd.c,v 1.36 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: kbd.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
}
}
-/* ARGSUSED */
int
digit_argument(int f, int n)
{
-/* $OpenBSD: macro.c,v 1.17 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: macro.c,v 1.18 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
union macrodef macro[MAXMACRO];
-/* ARGSUSED */
int
definemacro(int f, int n)
{
return (macrodef = TRUE);
}
-/* ARGSUSED */
int
finishmacro(int f, int n)
{
return (FALSE);
}
-/* ARGSUSED */
int
executemacro(int f, int n)
{
-/* $OpenBSD: main.c,v 1.90 2021/05/03 12:18:43 lum Exp $ */
+/* $OpenBSD: main.c,v 1.91 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Quit command. If an argument, always quit. Otherwise confirm if a buffer
* has been changed and not written out. Normally bound to "C-x C-c".
*/
-/* ARGSUSED */
int
quit(int f, int n)
{
* User abort. Should be called by any input routine that sees a C-g to abort
* whatever C-g is aborting these days. Currently does nothing.
*/
-/* ARGSUSED */
int
ctrlg(int f, int n)
{
-/* $OpenBSD: paragraph.c,v 1.46 2018/11/17 09:52:34 lum Exp $ */
+/* $OpenBSD: paragraph.c,v 1.47 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* preceding line. Keep doing this until a line with only spaces is found or
* the start of buffer.
*/
-/* ARGSUSED */
int
gotobop(int f, int n)
{
* Move to end of paragraph.
* See comments for gotobop(). Same, but moving forwards.
*/
-/* ARGSUSED */
int
gotoeop(int f, int n)
{
* Justify a paragraph. Fill the current paragraph according to the current
* fill column.
*/
-/* ARGSUSED */
int
fillpara(int f, int n)
{
* the cursor is on an empty line, move down the buffer to the first line with
* non-space characters. Then mark n paragraphs and delete.
*/
-/* ARGSUSED */
int
killpara(int f, int n)
{
* This leaves the cursor at the beginning of the paragraph where markpara()
* was invoked.
*/
-/* ARGSUSED */
int
markpara(int f, int n)
{
* multiple times, transpose to the n'th paragraph. If invoked between
* paragraphs, move to the previous paragraph, then continue.
*/
-/* ARGSUSED */
int
transposepara(int f, int n)
{
* Insert char with work wrap. Check to see if we're past fillcol, and if so,
* justify this line. As a last step, justify the line.
*/
-/* ARGSUSED */
int
fillword(int f, int n)
{
-/* $OpenBSD: re_search.c,v 1.36 2021/04/22 19:50:55 lum Exp $ */
+/* $OpenBSD: re_search.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* found, move "." to just after the matched characters. display does all
* the hard stuff. If not found, it just prints a message.
*/
-/* ARGSUSED */
int
re_forwsearch(int f, int n)
{
* pointing at the first character of the pattern [the last character that
* was matched].
*/
-/* ARGSUSED */
int
re_backsearch(int f, int n)
{
* XXX: This code has problems -- some incompatibility(?) with extend.c causes
* match to fail when it should not.
*/
-/* ARGSUSED */
int
re_searchagain(int f, int n)
{
* Re-Query Replace.
* Replace strings selectively. Does a search and replace operation.
*/
-/* ARGSUSED */
int
re_queryrepl(int f, int n)
{
* Cause case to not matter in searches. This is the default. If called
* with argument cause case to matter.
*/
-/* ARGSUSED*/
int
setcasefold(int f, int n)
{
/*
* Delete all lines after dot that contain a string matching regex.
*/
-/* ARGSUSED */
int
delmatchlines(int f, int n)
{
/*
* Delete all lines after dot that don't contain a string matching regex.
*/
-/* ARGSUSED */
int
delnonmatchlines(int f, int n)
{
/*
* Count lines matching regex.
*/
-/* ARGSUSED */
int
cntmatchlines(int f, int n)
{
/*
* Count lines that fail to match regex.
*/
-/* ARGSUSED */
int
cntnonmatchlines(int f, int n)
{
-/* $OpenBSD: region.c,v 1.39 2021/03/01 10:51:14 lum Exp $ */
+/* $OpenBSD: region.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Kill the region. Ask "getregion" to figure out the bounds of the region.
* Move "." to the start, and kill the characters. Mark is cleared afterwards.
*/
-/* ARGSUSED */
int
killregion(int f, int n)
{
* clearing the mark afterwards.
* This is a bit like a kill region followed by a yank.
*/
-/* ARGSUSED */
int
copyregion(int f, int n)
{
* the changes. Call "lchange" to ensure that redisplay is done in all
* buffers.
*/
-/* ARGSUSED */
int
lowerregion(int f, int n)
{
* doing the changes. Call "lchange" to ensure that redisplay is done in all
* buffers.
*/
-/* ARGSUSED */
int
upperregion(int f, int n)
{
* beginning of the line after the end of the region. If an argument is
* given, prompts for the line prefix string.
*/
-/* ARGSUSED */
int
prefixregion(int f, int n)
{
/*
* Set line prefix string. Used by prefixregion.
*/
-/* ARGSUSED */
int
setprefix(int f, int n)
{
/*
* Pipe text from current region to external command.
*/
-/*ARGSUSED */
int
piperegion(int f, int n)
{
/*
* Get command from mini-buffer and execute externally.
*/
-/*ARGSUSED */
int
shellcommand(int f, int n)
{
-/* $OpenBSD: search.c,v 1.49 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: search.c,v 1.50 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* characters, and display does all the hard stuff. If not found, it just
* prints a message.
*/
-/* ARGSUSED */
int
forwsearch(int f, int n)
{
* left pointing at the first character of the pattern [the last character
* that was matched].
*/
-/* ARGSUSED */
int
backsearch(int f, int n)
{
* search command. The direction has been saved in "srch_lastdir", so you
* know which way to go.
*/
-/* ARGSUSED */
int
searchagain(int f, int n)
{
* Use incremental searching, initially in the forward direction.
* isearch ignores any explicit arguments.
*/
-/* ARGSUSED */
int
forwisearch(int f, int n)
{
* Use incremental searching, initially in the reverse direction.
* isearch ignores any explicit arguments.
*/
-/* ARGSUSED */
int
backisearch(int f, int n)
{
* Query Replace.
* Replace strings selectively. Does a search and replace operation.
*/
-/* ARGSUSED */
int
queryrepl(int f, int n)
{
/*
* Replace string globally without individual prompting.
*/
-/* ARGSUSED */
int
replstr(int f, int n)
{
-/* $OpenBSD: spawn.c,v 1.12 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: spawn.c,v 1.13 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* shell supports POSIX job control. If the terminal supports an alternate
* screen, we will switch to it.
*/
-/* ARGSUSED */
int
spawncli(int f, int n)
{
-/* $OpenBSD: tags.c,v 1.18 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: tags.c,v 1.19 2023/03/08 04:43:11 guenther Exp $ */
/*
* This file is in the public domain.
* on first use. If a filename is already recorded, ask user to retain
* already loaded tags (if any) and unload them if user chooses not to.
*/
-/* ARGSUSED */
int
tagsvisit(int f, int n)
{
* buffername onto stack, load the file with tag definition into a new
* buffer and position dot at the pattern.
*/
-/*ARGSUSED */
int
pushtag(char *tok)
{
/*
* If tag stack is not empty pop stack and jump to recorded buffer, dot.
*/
-/* ARGSUSED */
int
poptag(int f, int n)
{
-/* $OpenBSD: tty.c,v 1.39 2021/03/20 09:00:49 lum Exp $ */
+/* $OpenBSD: tty.c,v 1.40 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
int tcinsl;
int tcdell;
-/* ARGSUSED */
static void
winchhandler(int sig)
{
/*
* fake char output for charcost()
*/
-/* ARGSUSED */
static int
fakec(int c)
{
-/* $OpenBSD: undo.c,v 1.58 2016/09/05 08:10:58 lum Exp $ */
+/* $OpenBSD: undo.c,v 1.59 2023/03/08 04:43:11 guenther Exp $ */
/*
* This file is in the public domain
*/
/*
* Show the undo records for the current buffer in a new buffer.
*/
-/* ARGSUSED */
int
undo_dump(int f, int n)
{
* two undo actions, we make it point back at the topmost record. This is
* how we handle redoing.
*/
-/* ARGSUSED */
int
undo(int f, int n)
{
-/* $OpenBSD: util.c,v 1.44 2022/05/24 16:24:31 op Exp $ */
+/* $OpenBSD: util.c,v 1.45 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* position display; it does not truncate just because the screen does.
* This is normally bound to "C-x =".
*/
-/* ARGSUSED */
int
showcpos(int f, int n)
{
* Normally bound to "C-t". This always works within a line, so "WFEDIT"
* is good enough.
*/
-/* ARGSUSED */
int
twiddle(int f, int n)
{
* subcommand processors. They even handle the looping. Normally this
* is bound to "C-o".
*/
-/* ARGSUSED */
int
openline(int f, int n)
{
/*
* Insert a newline.
*/
-/* ARGSUSED */
int
enewline(int f, int n)
{
* the line. Normally this command is bound to "C-x C-o". Any argument is
* ignored.
*/
-/* ARGSUSED */
int
deblank(int f, int n)
{
/*
* Delete any whitespace around dot.
*/
-/* ARGSUSED */
int
delwhite(int f, int n)
{
* right number of tabs and spaces. Return TRUE if all ok. Return FALSE if
* one of the subcommands failed. Normally bound to "C-m".
*/
-/* ARGSUSED */
int
lfindent(int f, int n)
{
* If any argument is present, it kills rather than deletes, to prevent loss
* of text if typed with a big argument. Normally bound to "C-d".
*/
-/* ARGSUSED */
int
forwdel(int f, int n)
{
* other functions. Just move the cursor back, and delete forwards. Like
* delete forward, this actually does a kill if presented with an argument.
*/
-/* ARGSUSED */
int
backdel(int f, int n)
{
}
#ifdef NOTAB
-/* ARGSUSED */
int
space_to_tabstop(int f, int n)
{
-/* $OpenBSD: version.c,v 1.10 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: version.c,v 1.11 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Display the version. All this does
* is copy the version string onto the echo line.
*/
-/* ARGSUSED */
int
showversion(int f, int n)
{
-/* $OpenBSD: window.c,v 1.36 2015/11/18 18:21:06 jasper Exp $ */
+/* $OpenBSD: window.c,v 1.37 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* bottom. If it is 0 the window is centered (this is what the standard
* redisplay code does).
*/
-/* ARGSUSED */
int
reposition(int f, int n)
{
return (do_redraw(f, n, FALSE));
}
-/* ARGSUSED */
int
do_redraw(int f, int n, int force)
{
* window. There are no real errors, although the command does nothing if
* there is only 1 window on the screen.
*/
-/* ARGSUSED */
int
nextwind(int f, int n)
{
* current window. There are no errors, although the command does not do
* a lot if there is only 1 window.
*/
-/* ARGSUSED */
int
prevwind(int f, int n)
{
* structures right if the destruction of a window makes a buffer become
* undisplayed.
*/
-/* ARGSUSED */
int
onlywind(int f, int n)
{
* structure for the new window.
* If called with a FFOTHARG, flags on the new window are set to 'n'.
*/
-/* ARGSUSED */
int
splitwind(int f, int n)
{
* to do all the hard work. You don't just set "force reframe" because dot
* would move.
*/
-/* ARGSUSED */
int
enlargewind(int f, int n)
{
* Delete current window. Call shrink-window to do the screen updating, then
* throw away the window.
*/
-/* ARGSUSED */
int
delwind(int f, int n)
{
-/* $OpenBSD: word.c,v 1.20 2022/12/26 19:16:02 jmc Exp $ */
+/* $OpenBSD: word.c,v 1.21 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* Move the cursor backward by "n" words. All of the details of motion are
* performed by the "backchar" and "forwchar" routines.
*/
-/* ARGSUSED */
int
backword(int f, int n)
{
* Move the cursor forward by the specified number of words. All of the
* motion is done by "forwchar".
*/
-/* ARGSUSED */
int
forwword(int f, int n)
{
* Move the cursor forward by the specified number of words. As you move,
* convert any characters to upper case.
*/
-/* ARGSUSED */
int
upperword(int f, int n)
{
* Move the cursor forward by the specified number of words. As you move
* convert characters to lower case.
*/
-/* ARGSUSED */
int
lowerword(int f, int n)
{
* characters to lower case. Error if you try to move past the end of the
* buffer.
*/
-/* ARGSUSED */
int
capword(int f, int n)
{
/*
* Kill forward by "n" words.
*/
-/* ARGSUSED */
int
delfword(int f, int n)
{
* the first call to "backchar" special, but decided that that would just be
* weird. Normally this is bound to "M-Rubout" and to "M-Backspace".
*/
-/* ARGSUSED */
int
delbword(int f, int n)
{
-/* $OpenBSD: yank.c,v 1.15 2021/03/01 10:51:14 lum Exp $ */
+/* $OpenBSD: yank.c,v 1.16 2023/03/08 04:43:11 guenther Exp $ */
/* This file is in the public domain. */
* it kills any text before dot on the current line, then it kills back
* abs(arg) lines.
*/
-/* ARGSUSED */
int
killline(int f, int n)
{
* bug associated with a yank when dot is on the top line of the window
* (nothing moves, because all of the new text landed off screen).
*/
-/* ARGSUSED */
int
yank(int f, int n)
{
-/* $OpenBSD: if.c,v 1.80 2022/09/08 13:18:47 kn Exp $ */
+/* $OpenBSD: if.c,v 1.81 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
* Called if an interval expires before sidewaysintpr has completed a loop.
* Sets a flag to not wait for the alarm.
*/
-/* ARGSUSED */
static void
catchalarm(int signo)
{
-/* $OpenBSD: newsyslog.c,v 1.112 2019/06/28 13:35:02 deraadt Exp $ */
+/* $OpenBSD: newsyslog.c,v 1.113 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 1999, 2002, 2003 Todd C. Miller <millert@openbsd.org>
return (1);
}
-/* ARGSUSED */
void
child_killer(int signo)
{
-/* $OpenBSD: nfsstat.c,v 1.37 2022/12/04 23:50:49 cheloha Exp $ */
+/* $OpenBSD: nfsstat.c,v 1.38 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */
/*
* Called if an interval expires before sidewaysintpr has completed a loop.
* Sets a flag to not wait for the alarm.
*/
-/* ARGSUSED */
void
catchalarm(int signo)
{
-/* $OpenBSD: pr.c,v 1.44 2020/12/13 15:36:36 jmc Exp $ */
+/* $OpenBSD: pr.c,v 1.45 2023/03/08 04:43:12 guenther Exp $ */
/*-
* Copyright (c) 1991 Keith Muller.
/*
* terminate(): when a SIGINT is recvd
*/
-/*ARGSUSED*/
void
terminate(int which_sig)
{
%{
-/* $OpenBSD: date.y,v 1.14 2016/08/26 09:02:54 guenther Exp $ */
+/* $OpenBSD: date.y,v 1.15 2023/03/08 04:43:12 guenther Exp $ */
/*
** Originally written by Steven M. Bellovin <smb@research.att.com> while
}
#if defined(TEST)
-/* ARGSUSED */
int
main(int argc, char **argv)
{
-/* $OpenBSD: rcsprog.c,v 1.163 2021/01/18 00:51:15 mortimer Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.164 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
void sighdlr(int);
static void rcs_attach_symbol(RCSFILE *, const char *);
-/* ARGSUSED */
void
sighdlr(int sig)
{
-/* $OpenBSD: rpc_cout.c,v 1.28 2016/12/22 16:42:55 krw Exp $ */
+/* $OpenBSD: rpc_cout.c,v 1.29 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: rpc_cout.c,v 1.6 1996/10/01 04:13:53 cgd Exp $ */
/*
print_ifclose(indent);
}
-/* ARGSUSED */
static void
emit_enum(def)
definition *def;
-/* $OpenBSD: rpcinfo.c,v 1.15 2019/06/28 13:35:03 deraadt Exp $ */
+/* $OpenBSD: rpcinfo.c,v 1.16 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
* to get a unique list of responses the output of rpcinfo should
* be piped through sort(1) and then uniq(1).
*/
-/*ARGSUSED*/
bool_t
reply_proc(caddr_t res, struct sockaddr_in *who)
{
-/* $OpenBSD: auth2.c,v 1.165 2023/03/05 05:34:09 dtucker Exp $ */
+/* $OpenBSD: auth2.c,v 1.166 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
ssh->authctxt = NULL;
}
-/*ARGSUSED*/
static int
input_service_request(int type, u_int32_t seq, struct ssh *ssh)
{
nanosleep(&ts, NULL);
}
-/*ARGSUSED*/
static int
input_userauth_request(int type, u_int32_t seq, struct ssh *ssh)
{
-/* $OpenBSD: clientloop.c,v 1.389 2023/03/03 09:48:51 dtucker Exp $ */
+/* $OpenBSD: clientloop.c,v 1.390 2023/03/08 04:43:12 guenther Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* Signal handler for the window change signal (SIGWINCH). This just sets a
* flag indicating that the window has changed.
*/
-/*ARGSUSED */
static void
window_change_handler(int sig)
{
* Signal handler for signals that cause the program to terminate. These
* signals must be trapped to restore terminal modes.
*/
-/*ARGSUSED */
static void
signal_handler(int sig)
{
-/* $OpenBSD: kex.c,v 1.176 2023/03/06 12:14:48 dtucker Exp $ */
+/* $OpenBSD: kex.c,v 1.177 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
*
free(proposal);
}
-/* ARGSUSED */
int
kex_protocol_error(int type, u_int32_t seq, struct ssh *ssh)
{
return 0;
}
-/* ARGSUSED */
int
kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh)
{
-/* $OpenBSD: mux.c,v 1.95 2023/01/06 02:39:59 djm Exp $ */
+/* $OpenBSD: mux.c,v 1.96 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
*
};
/* Cleanup callback fired on closure of mux client _session_ channel */
-/* ARGSUSED */
static void
mux_master_session_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused)
{
}
/* Cleanup callback fired on closure of mux client _control_ channel */
-/* ARGSUSED */
static void
mux_master_control_cleanup_cb(struct ssh *ssh, int cid, int force, void *unused)
{
-/* $OpenBSD: progressmeter.c,v 1.51 2023/02/22 03:56:43 djm Exp $ */
+/* $OpenBSD: progressmeter.c,v 1.52 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2003 Nils Nordman. All rights reserved.
*
free(obuf);
}
-/*ARGSUSED*/
static void
sig_alarm(int ignore)
{
atomicio(vwrite, STDOUT_FILENO, "\n", 1);
}
-/*ARGSUSED*/
static void
sig_winch(int sig)
{
-/* $OpenBSD: serverloop.c,v 1.235 2023/03/05 05:34:09 dtucker Exp $ */
+/* $OpenBSD: serverloop.c,v 1.236 2023/03/08 04:43:12 guenther Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
return 1;
}
-/*ARGSUSED*/
static void
sigchld_handler(int sig)
{
child_terminated = 1;
}
-/*ARGSUSED*/
static void
sigterm_handler(int sig)
{
-/* $OpenBSD: sftp-client.c,v 1.168 2023/01/11 05:39:38 djm Exp $ */
+/* $OpenBSD: sftp-client.c,v 1.169 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
return req;
}
-/* ARGSUSED */
static int
sftpio(void *_bwlimit, size_t amount)
{
-/* $OpenBSD: sftp.c,v 1.226 2023/02/27 22:12:40 dtucker Exp $ */
+/* $OpenBSD: sftp.c,v 1.227 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
{ NULL, -1, -1, -1 }
};
-/* ARGSUSED */
static void
killchild(int signo)
{
_exit(1);
}
-/* ARGSUSED */
static void
suspchild(int signo)
{
kill(getpid(), SIGSTOP);
}
-/* ARGSUSED */
static void
cmd_interrupt(int signo)
{
errno = olderrno;
}
-/* ARGSUSED */
static void
read_interrupt(int signo)
{
interrupted = 1;
}
-/*ARGSUSED*/
static void
sigchld_handler(int sig)
{
-/* $OpenBSD: ssh-agent.c,v 1.295 2023/03/05 05:34:09 dtucker Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.296 2023/03/08 04:43:12 guenther Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
_exit(i);
}
-/*ARGSUSED*/
static void
cleanup_handler(int sig)
{
-/* $OpenBSD: ssh-ecdsa-sk.c,v 1.17 2022/10/28 00:44:44 djm Exp $ */
+/* $OpenBSD: ssh-ecdsa-sk.c,v 1.18 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2010 Damien Miller. All rights reserved.
return r;
}
-/* ARGSUSED */
static int
ssh_ecdsa_sk_verify(const struct sshkey *key,
const u_char *sig, size_t siglen,
-/* $OpenBSD: ssh-ecdsa.c,v 1.25 2022/10/28 00:44:44 djm Exp $ */
+/* $OpenBSD: ssh-ecdsa.c,v 1.26 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2010 Damien Miller. All rights reserved.
return r;
}
-/* ARGSUSED */
static int
ssh_ecdsa_sign(struct sshkey *key,
u_char **sigp, size_t *lenp,
return ret;
}
-/* ARGSUSED */
static int
ssh_ecdsa_verify(const struct sshkey *key,
const u_char *sig, size_t siglen,
-/* $OpenBSD: sshconnect2.c,v 1.364 2023/03/06 12:14:48 dtucker Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.365 2023/03/08 04:43:12 guenther Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Damien Miller. All rights reserved.
}
}
-/* ARGSUSED */
static int
input_userauth_service_accept(int type, u_int32_t seq, struct ssh *ssh)
{
return r;
}
-/* ARGSUSED */
static int
input_userauth_ext_info(int type, u_int32_t seqnr, struct ssh *ssh)
{
}
}
-/* ARGSUSED */
static int
input_userauth_error(int type, u_int32_t seq, struct ssh *ssh)
{
return 0;
}
-/* ARGSUSED */
static int
input_userauth_banner(int type, u_int32_t seq, struct ssh *ssh)
{
return r;
}
-/* ARGSUSED */
static int
input_userauth_success(int type, u_int32_t seq, struct ssh *ssh)
{
}
#endif
-/* ARGSUSED */
static int
input_userauth_failure(int type, u_int32_t seq, struct ssh *ssh)
{
return ret;
}
-/* ARGSUSED */
static int
input_userauth_pk_ok(int type, u_int32_t seq, struct ssh *ssh)
{
return status;
}
-/* ARGSUSED */
static int
input_gssapi_response(int type, u_int32_t plen, struct ssh *ssh)
{
return r;
}
-/* ARGSUSED */
static int
input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh)
{
return r;
}
-/* ARGSUSED */
static int
input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh)
{
return 0;
}
-/* ARGSUSED */
static int
input_gssapi_error(int type, u_int32_t plen, struct ssh *ssh)
{
/*
* parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST
*/
-/* ARGSUSED */
static int
input_userauth_passwd_changereq(int type, u_int32_t seqnr, struct ssh *ssh)
{
-/* $OpenBSD: sshd.c,v 1.599 2023/03/06 12:14:48 dtucker Exp $ */
+/* $OpenBSD: sshd.c,v 1.600 2023/03/08 04:43:12 guenther Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* the server key).
*/
-/*ARGSUSED*/
static void
sighup_handler(int sig)
{
/*
* Generic signal handler for terminating signals in the master daemon.
*/
-/*ARGSUSED*/
static void
sigterm_handler(int sig)
{
* SIGCHLD handler. This is called whenever a child dies. This will then
* reap any zombies left by exited children.
*/
-/*ARGSUSED*/
static void
main_sigchld_handler(int sig)
{
/*
* Signal handler for the alarm after the login grace period has expired.
*/
-/*ARGSUSED*/
static void
grace_alarm_handler(int sig)
{
-/* $OpenBSD: main.c,v 1.45 2022/10/04 08:03:26 kn Exp $ */
+/* $OpenBSD: main.c,v 1.46 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */
/*
return;
}
-/* ARGSUSED */
void
setbinary(int argc, char *argv[])
{
settftpmode("octet");
}
-/* ARGSUSED */
void
setascii(int argc, char *argv[])
{
maxtimeout = t;
}
-/* ARGSUSED */
void
status(int argc, char *argv[])
{
rexmtval, maxtimeout);
}
-/* ARGSUSED */
void
intr(int signo)
{
return (ret);
}
-/* ARGSUSED */
void
quit(int argc, char *argv[])
{
}
}
-/* ARGSUSED */
void
settrace(int argc, char *argv[])
{
printf("Packet tracing %s.\n", trace ? "on" : "off");
}
-/* ARGSUSED */
void
setverbose(int argc, char *argv[])
{
printf("Verbose mode %s.\n", verbose ? "on" : "off");
}
-/* ARGSUSED */
void
settsize(int argc, char *argv[])
{
has_options--;
}
-/* ARGSUSED */
void
settout(int argc, char *argv[])
{
-/* $OpenBSD: top.c,v 1.108 2022/12/16 15:54:27 cheloha Exp $ */
+/* $OpenBSD: top.c,v 1.109 2023/03/08 04:43:12 guenther Exp $ */
/*
* Top users/processes display for Unix
}
}
-/* ARGSUSED */
void
leave(int signo)
{
leaveflag = 1;
}
-/* ARGSUSED */
void
tstop(int signo)
{
tstopflag = 1;
}
-/* ARGSUSED */
void
sigwinch(int signo)
{
winchflag = 1;
}
-/* ARGSUSED */
void
onalrm(int signo)
{
-/* $OpenBSD: usbhidaction.c,v 1.26 2022/12/04 23:50:50 cheloha Exp $ */
+/* $OpenBSD: usbhidaction.c,v 1.27 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: usbhidaction.c,v 1.7 2002/01/18 14:38:59 augustss Exp $ */
/*
void docmd(struct command *, int, const char *, int, char **);
void freecommands(struct command *);
-/* ARGSUSED */
static void
sighup(int signo)
{
-/* $OpenBSD: wall.c,v 1.36 2022/05/05 10:04:24 bluhm Exp $ */
+/* $OpenBSD: wall.c,v 1.37 2023/03/08 04:43:12 guenther Exp $ */
/* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */
/*
int mbufsize;
char *mbuf;
-/* ARGSUSED */
int
main(int argc, char **argv)
{
-/* $OpenBSD: what.c,v 1.16 2020/04/18 15:10:06 martijn Exp $ */
+/* $OpenBSD: what.c,v 1.17 2023/03/08 04:43:13 guenther Exp $ */
/* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */
/*
/*
* what
*/
-/* ARGSUSED */
int
main(int argc, char *argv[])
{
-/* $OpenBSD: apmd.c,v 1.110 2022/12/04 23:50:50 cheloha Exp $ */
+/* $OpenBSD: apmd.c,v 1.111 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 1995, 1996 John T. Kohl
void error(const char *fmt, const char *arg);
void set_driver_messages(int fd, int mode);
-/* ARGSUSED */
void
sigexit(int signo)
{
-/* $OpenBSD: control.c,v 1.24 2021/01/19 12:23:30 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.25 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
unlink(DVMRPD_SOCKET);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: ophandlers.c,v 1.17 2022/01/12 22:49:53 tb Exp $ */
+/* $OpenBSD: ophandlers.c,v 1.18 2023/03/08 04:43:13 guenther Exp $ */
/* $NetBSD: ophandlers.c,v 1.2 1996/02/28 01:13:30 thorpej Exp $ */
/*-
return (NULL);
}
-/* ARGSUSED */
static void
op_notsupp(struct extabent *exent, struct opiocdesc *opiop, char *arg)
{
-/* $OpenBSD: control.c,v 1.9 2021/01/19 10:37:25 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.10 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
}
-/* ARGSUSED */
static void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
static void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: eigrpd.c,v 1.28 2021/01/19 10:53:25 claudio Exp $ */
+/* $OpenBSD: eigrpd.c,v 1.29 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
static pid_t eigrpe_pid;
static pid_t rde_pid;
-/* ARGSUSED */
static void
main_sig_handler(int sig, short event, void *arg)
{
}
/* imsg handling */
-/* ARGSUSED */
static void
main_dispatch_eigrpe(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
main_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: eigrpe.c,v 1.39 2021/01/19 10:53:25 claudio Exp $ */
+/* $OpenBSD: eigrpe.c,v 1.40 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
static struct imsgev *iev_main;
static struct imsgev *iev_rde;
-/* ARGSUSED */
static void
eigrpe_sig_handler(int sig, short event, void *bula)
{
data, datalen));
}
-/* ARGSUSED */
static void
eigrpe_dispatch_main(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
eigrpe_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: interface.c,v 1.25 2019/06/28 13:32:47 deraadt Exp $ */
+/* $OpenBSD: interface.c,v 1.26 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
}
/* timers */
-/* ARGSUSED */
static void
eigrp_if_hello_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: kroute.c,v 1.19 2022/12/28 21:30:16 jmc Exp $ */
+/* $OpenBSD: kroute.c,v 1.20 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
log_info("kernel routing table decoupled");
}
-/* ARGSUSED */
static void
kr_dispatch_msg(int fd, short event, void *bula)
{
-/* $OpenBSD: neighbor.c,v 1.10 2016/09/02 16:44:33 renato Exp $ */
+/* $OpenBSD: neighbor.c,v 1.11 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
/* timers */
-/* ARGSUSED */
static void
nbr_timeout(int fd, short event, void *arg)
{
-/* $OpenBSD: rde.c,v 1.24 2021/01/19 10:53:25 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.25 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
static struct imsgev *iev_eigrpe;
static struct imsgev *iev_main;
-/* ARGSUSED */
static void
rde_sig_handler(int sig, short event, void *arg)
{
data, datalen));
}
-/* ARGSUSED */
static void
rde_dispatch_imsg(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
rde_dispatch_parent(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_dual.c,v 1.30 2022/12/28 21:30:16 jmc Exp $ */
+/* $OpenBSD: rde_dual.c,v 1.31 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
free(reply);
}
-/* ARGSUSED */
static void
reply_active_timer(int fd, short event, void *arg)
{
fatal("reply_active_stop_timer");
}
-/* ARGSUSED */
static void
reply_sia_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: rtp.c,v 1.7 2016/09/02 16:44:33 renato Exp $ */
+/* $OpenBSD: rtp.c,v 1.8 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
/* timers */
-/* ARGSUSED */
static void
rtp_retrans_timer(int fd, short event, void *arg)
{
fatal("rtp_retrans_stop_timer");
}
-/* ARGSUSED */
void
rtp_ack_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: hostapd.c,v 1.41 2019/07/03 03:24:03 deraadt Exp $ */
+/* $OpenBSD: hostapd.c,v 1.42 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org>
}
}
-/* ARGSUSED */
void
hostapd_sig_handler(int sig, short event, void *arg)
{
-/* $OpenBSD: privsep.c,v 1.27 2019/06/28 13:32:47 deraadt Exp $ */
+/* $OpenBSD: privsep.c,v 1.28 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org>
/*
* If priv parent gets a TERM or HUP, pass it through to child instead.
*/
-/* ARGSUSED */
void
hostapd_sig_relay(int sig, short event, void *arg)
{
errno = oerrno;
}
-/* ARGSUSED */
void
hostapd_sig_chld(int sig, short event, void *arg)
{
-/* $OpenBSD: hotplugd.c,v 1.18 2022/12/04 23:50:50 cheloha Exp $ */
+/* $OpenBSD: hotplugd.c,v 1.19 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
}
}
-/* ARGSUSED */
void
sigchild(int signum)
{
errno = saved_errno;
}
-/* ARGSUSED */
void
sigquit(int signum)
{
-/* $OpenBSD: control.c,v 1.14 2021/04/20 21:11:56 dv Exp $ */
+/* $OpenBSD: control.c,v 1.15 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
event_del(&cs->cs_evt);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *arg)
{
-/* $OpenBSD: iostat.c,v 1.46 2022/12/28 20:56:37 cheloha Exp $ */
+/* $OpenBSD: iostat.c,v 1.47 2023/03/08 04:43:13 guenther Exp $ */
/* $NetBSD: iostat.c,v 1.10 1996/10/25 18:21:58 scottr Exp $ */
/*
{
}
-/*ARGSUSED*/
static void
sigheader(int signo)
{
-/* $OpenBSD: control.c,v 1.10 2016/09/10 05:42:12 jsg Exp $ */
+/* $OpenBSD: control.c,v 1.11 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
evtimer_set(&control_state->evt, control_accept, NULL);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *bula)
{
static char cbuf[CONTROL_READ_SIZE];
-/* ARGSUSED */
void
control_dispatch(int fd, short event, void *bula)
{
-/* $OpenBSD: session.c,v 1.8 2015/12/05 06:37:24 mmcc Exp $ */
+/* $OpenBSD: session.c,v 1.9 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2011 Claudio Jeker <claudio@openbsd.org>
{ 0, 0, NULL }
};
-/* ARGSUSED */
void
session_fsm_callback(int fd, short event, void *arg)
{
-/* $OpenBSD: control.c,v 1.17 2021/04/20 21:11:56 dv Exp $ */
+/* $OpenBSD: control.c,v 1.18 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2010 Martin Hedenfalk <martin@bzero.se>
event_del(&cs->cs_evt);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
-/* $OpenBSD: adjacency.c,v 1.27 2019/12/12 00:10:29 yasuoka Exp $ */
+/* $OpenBSD: adjacency.c,v 1.28 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2015 Renato Westphal <renato@openbsd.org>
/* adjacency timers */
-/* ARGSUSED */
static void
adj_itimer(int fd, short event, void *arg)
{
/* target neighbors timers */
-/* ARGSUSED */
static void
tnbr_hello_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: control.c,v 1.31 2021/01/19 15:14:35 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.32 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
close(control_fd);
}
-/* ARGSUSED */
static void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
static void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: interface.c,v 1.51 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: interface.c,v 1.52 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
}
/* timers */
-/* ARGSUSED */
static void
if_hello_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: kroute.c,v 1.70 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: kroute.c,v 1.71 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2015, 2016 Renato Westphal <renato@openbsd.org>
}
}
-/* ARGSUSED */
static void
kr_dispatch_msg(int fd, short event, void *bula)
{
-/* $OpenBSD: lde.c,v 1.75 2021/01/19 15:23:25 claudio Exp $ */
+/* $OpenBSD: lde.c,v 1.76 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
static struct imsgev *iev_ldpe;
static struct imsgev *iev_main;
-/* ARGSUSED */
static void
lde_sig_handler(int sig, short event, void *arg)
{
-1, data, datalen));
}
-/* ARGSUSED */
static void
lde_dispatch_imsg(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
lde_dispatch_parent(int fd, short event, void *bula)
{
-/* $OpenBSD: lde_lib.c,v 1.70 2022/12/28 21:30:17 jmc Exp $ */
+/* $OpenBSD: lde_lib.c,v 1.71 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
/* garbage collector timer: timer to remove dead entries from the LIB */
-/* ARGSUSED */
void
lde_gc_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: ldpd.c,v 1.68 2021/09/06 13:32:18 deraadt Exp $ */
+/* $OpenBSD: ldpd.c,v 1.69 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
static pid_t ldpe_pid;
static pid_t lde_pid;
-/* ARGSUSED */
static void
main_sig_handler(int sig, short event, void *arg)
{
}
/* imsg handling */
-/* ARGSUSED */
static void
main_dispatch_ldpe(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
main_dispatch_lde(int fd, short event, void *bula)
{
-/* $OpenBSD: ldpe.c,v 1.80 2021/01/19 15:59:25 claudio Exp $ */
+/* $OpenBSD: ldpe.c,v 1.81 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
static struct imsgev *iev_lde;
static struct event pfkey_ev;
-/* ARGSUSED */
static void
ldpe_sig_handler(int sig, short event, void *bula)
{
data, datalen));
}
-/* ARGSUSED */
static void
ldpe_dispatch_main(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
ldpe_dispatch_lde(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
static void
ldpe_dispatch_pfkey(int fd, short event, void *bula)
{
-/* $OpenBSD: pf.c,v 1.18 2018/04/26 12:42:51 guenther Exp $ */
+/* $OpenBSD: pf.c,v 1.19 2023/03/08 04:43:13 guenther Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
* In this case the driver can handle both Ethernet type II and
* IEEE 802.3 frames (SNAP) in a single pfOpen.
*/
-/* ARGSUSED */
int
pfTrans(char *interface)
{
/*
* Open and initialize packet filter.
*/
-/* ARGSUSED */
int
pfInit(char *interface, int mode, u_short protocol, int typ)
{
/*
* Add a Multicast address to the interface
*/
-/* ARGSUSED */
int
pfAddMulti(int s, char *interface, char *addr)
{
/*
* Delete a Multicast address from the interface
*/
-/* ARGSUSED */
int
pfDelMulti(int s, char *interface, char *addr)
{
-/* $OpenBSD: mopchk.c,v 1.19 2021/10/24 21:24:19 deraadt Exp $ */
+/* $OpenBSD: mopchk.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
/*
* Process incoming packages, NOT.
*/
-/* ARGSUSED */
void
mopProcess(ii, pkt)
struct if_info *ii;
-/* $OpenBSD: process.c,v 1.24 2022/01/28 06:33:27 guenther Exp $ */
+/* $OpenBSD: process.c,v 1.25 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
warnx("pfWrite() error");
}
-/* ARGSUSED */
void
mopProcessDL(FILE *fd, struct if_info *ii, u_char *pkt, int *idx, u_char *dst,
u_char *src, int trans, u_short len)
}
}
-/* ARGSUSED */
void
mopProcessRC(FILE *fd, struct if_info *ii, u_char *pkt, int *idx, u_char dst,
u_char *src, int trans, u_short len)
-/* $OpenBSD: moptrace.c,v 1.13 2015/02/09 23:00:14 deraadt Exp $ */
+/* $OpenBSD: moptrace.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
/*
* Process incoming packages.
*/
-/* ARGSUSED */
void
mopProcess(struct if_info *ii, u_char *pkt)
{
-/* $OpenBSD: control.c,v 1.7 2017/01/09 14:04:31 krw Exp $ */
+/* $OpenBSD: control.c,v 1.8 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
}
#include <stdio.h>
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *arg)
{
-/* $OpenBSD: control.c,v 1.30 2021/01/19 09:42:11 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.31 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
event_del(&control_state.evt);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: database.c,v 1.21 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: database.c,v 1.22 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
db_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: interface.c,v 1.29 2020/05/27 09:03:56 denis Exp $ */
+/* $OpenBSD: interface.c,v 1.30 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
if_hello_timer(int fd, short event, void *arg)
{
fatal("if_stop_hello_timer");
}
-/* ARGSUSED */
void
if_wait_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: kroute.c,v 1.66 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: kroute.c,v 1.67 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
kr_state.fib_prio = fib_prio;
}
-/* ARGSUSED */
void
kr_dispatch_msg(int fd, short event, void *bula)
{
-/* $OpenBSD: lsack.c,v 1.9 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsack.c,v 1.10 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
ls_ack_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: lsreq.c,v 1.13 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsreq.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
ls_req_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: lsupdate.c,v 1.21 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.22 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
nbr->ls_ret_cnt = 0;
}
-/* ARGSUSED */
void
ls_retrans_timer(int fd, short event, void *bula)
{
-/* $OpenBSD: neighbor.c,v 1.18 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: neighbor.c,v 1.19 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
nbr_itimer(int fd, short event, void *arg)
{
fatal("nbr_reset_itimer");
}
-/* ARGSUSED */
void
nbr_adj_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: ospf6d.c,v 1.52 2022/01/20 14:03:31 naddy Exp $ */
+/* $OpenBSD: ospf6d.c,v 1.53 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
pid_t ospfe_pid = 0;
pid_t rde_pid = 0;
-/* ARGSUSED */
void
main_sig_handler(int sig, short event, void *arg)
{
}
/* imsg handling */
-/* ARGSUSED */
void
main_dispatch_ospfe(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
main_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: ospfe.c,v 1.67 2021/01/19 09:54:08 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.68 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
static struct imsgev *iev_rde;
int oe_nofib;
-/* ARGSUSED */
void
ospfe_sig_handler(int sig, short event, void *bula)
{
data, datalen));
}
-/* ARGSUSED */
void
ospfe_dispatch_main(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
ospfe_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: rde.c,v 1.90 2022/01/20 14:03:32 naddy Exp $ */
+/* $OpenBSD: rde.c,v 1.91 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
struct rde_nbr *nbrself;
struct lsa_tree asext_tree;
-/* ARGSUSED */
void
rde_sig_handler(int sig, short event, void *arg)
{
data, datalen));
}
-/* ARGSUSED */
void
rde_dispatch_imsg(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
rde_dispatch_parent(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_lsdb.c,v 1.47 2020/10/04 07:24:46 denis Exp $ */
+/* $OpenBSD: rde_lsdb.c,v 1.48 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
}
}
-/* ARGSUSED */
void
lsa_timeout(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_spf.c,v 1.28 2020/04/05 18:19:04 denis Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.29 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
spf_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: control.c,v 1.47 2021/01/19 09:33:38 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.48 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
event_del(&control_state.evt);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: database.c,v 1.35 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: database.c,v 1.36 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
db_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: interface.c,v 1.86 2021/01/16 08:03:55 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.87 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
if_hello_timer(int fd, short event, void *arg)
{
fatal("if_stop_hello_timer");
}
-/* ARGSUSED */
void
if_wait_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: kroute.c,v 1.116 2023/02/08 08:20:54 tb Exp $ */
+/* $OpenBSD: kroute.c,v 1.117 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
kr_state.fib_prio = fib_prio;
}
-/* ARGSUSED */
void
kr_dispatch_msg(int fd, short event, void *bula)
{
-/* $OpenBSD: lsack.c,v 1.23 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsack.c,v 1.24 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
ls_ack_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: lsreq.c,v 1.23 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsreq.c,v 1.24 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
ls_req_tx_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: lsupdate.c,v 1.50 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
nbr->ls_ret_cnt = 0;
}
-/* ARGSUSED */
void
ls_retrans_timer(int fd, short event, void *bula)
{
-/* $OpenBSD: neighbor.c,v 1.50 2021/11/03 21:40:03 sthen Exp $ */
+/* $OpenBSD: neighbor.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
nbr_itimer(int fd, short event, void *arg)
{
fatal("nbr_reset_itimer");
}
-/* ARGSUSED */
void
nbr_adj_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: ospfd.c,v 1.116 2021/09/06 13:32:18 deraadt Exp $ */
+/* $OpenBSD: ospfd.c,v 1.117 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
pid_t ospfe_pid = 0;
pid_t rde_pid = 0;
-/* ARGSUSED */
void
main_sig_handler(int sig, short event, void *arg)
{
}
/* imsg handling */
-/* ARGSUSED */
void
main_dispatch_ospfe(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
main_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: ospfe.c,v 1.110 2021/01/19 09:37:53 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.111 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
static struct imsgev *iev_rde;
int oe_nofib;
-/* ARGSUSED */
void
ospfe_sig_handler(int sig, short event, void *bula)
{
data, datalen));
}
-/* ARGSUSED */
void
ospfe_dispatch_main(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
ospfe_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: rde.c,v 1.111 2021/01/19 09:37:53 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.112 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
struct rde_nbr *nbrself;
struct lsa_tree asext_tree;
-/* ARGSUSED */
void
rde_sig_handler(int sig, short event, void *arg)
{
data, datalen));
}
-/* ARGSUSED */
void
rde_dispatch_imsg(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
rde_dispatch_parent(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_lsdb.c,v 1.51 2020/10/05 09:19:05 jan Exp $ */
+/* $OpenBSD: rde_lsdb.c,v 1.52 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
}
}
-/* ARGSUSED */
void
lsa_timeout(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_spf.c,v 1.78 2019/11/19 09:55:55 remi Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.79 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
}
/* timers */
-/* ARGSUSED */
void
spf_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: portmap.c,v 1.50 2019/06/28 13:32:49 deraadt Exp $ */
+/* $OpenBSD: portmap.c,v 1.51 2023/03/08 04:43:14 guenther Exp $ */
/*-
* Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved.
exit(0);
}
-/* ARGSUSED */
void
reap(int signo)
{
-/* $OpenBSD: chap.c,v 1.19 2017/11/17 20:48:30 jca Exp $ */
+/* $OpenBSD: chap.c,v 1.20 2023/03/08 04:43:14 guenther Exp $ */
/*
* chap.c - Challenge Handshake Authentication Protocol.
* ChapSendResponse - send a response packet with values as specified
* in *cstate.
*/
-/* ARGSUSED */
static void
ChapSendResponse(cstate)
chap_state *cstate;
-/* $OpenBSD: lcp.c,v 1.13 2015/12/14 03:25:59 mmcc Exp $ */
+/* $OpenBSD: lcp.c,v 1.14 2023/03/08 04:43:14 guenther Exp $ */
/*
* lcp.c - PPP Link Control Protocol.
/*
* lcp_protrej - A Protocol-Reject was received.
*/
-/*ARGSUSED*/
static void
lcp_protrej(unit)
int unit;
-/* $OpenBSD: main.c,v 1.55 2021/10/24 21:24:19 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.56 2023/03/08 04:43:14 guenther Exp $ */
/*
* main.c - Point-to-Point Protocol main module
/*
* cleanup - restore anything which needs to be restored before we exit
*/
-/* ARGSUSED */
static void
cleanup()
{
*
* Indicates that we should initiate a graceful disconnect and exit.
*/
-/*ARGSUSED*/
static void
term(sig)
int sig;
*
* Toggle debug flag.
*/
-/*ARGSUSED*/
static void
toggle_debug(sig)
int sig;
*
* Try to (re)negotiate compression.
*/
-/*ARGSUSED*/
static void
open_ccp(sig)
int sig;
-/* $OpenBSD: control.c,v 1.57 2021/04/20 21:11:56 dv Exp $ */
+/* $OpenBSD: control.c,v 1.58 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
event_del(&cs->cs_evt);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *arg)
{
-/* $OpenBSD: control.c,v 1.27 2021/01/19 10:00:36 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.28 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *bula)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *bula)
{
-/* $OpenBSD: kroute.c,v 1.35 2022/05/06 15:51:09 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.36 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
log_info("kernel routing table decoupled");
}
-/* ARGSUSED */
void
kr_dispatch_msg(int fd, short event, void *bula)
{
-/* $OpenBSD: message.c,v 1.15 2019/12/15 20:51:39 remi Exp $ */
+/* $OpenBSD: message.c,v 1.16 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
void delete_entry(struct rip_route *);
/* timers */
-/* ARGSUSED */
void
report_timer(int fd, short event, void *arg)
{
-/* $OpenBSD: neighbor.c,v 1.11 2017/01/17 16:30:54 jca Exp $ */
+/* $OpenBSD: neighbor.c,v 1.12 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
}
/* timers */
-/* ARGSUSED */
void
nbr_timeout_timer(int fd, short event, void *arg)
{
nbr_fsm(nbr, NBR_EVT_TIMEOUT);
}
-/* ARGSUSED */
void
nbr_failed_timeout(int fd, short event, void *arg)
{
-/* $OpenBSD: rde.c,v 1.24 2021/01/19 10:20:47 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.25 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
int rde_check_route(struct rip_route *);
void triggered_update(struct rt_node *);
-/* ARGSUSED */
void
rde_sig_handler(int sig, short event, void *arg)
{
data, datalen));
}
-/* ARGSUSED */
void
rde_dispatch_imsg(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
rde_dispatch_parent(int fd, short event, void *bula)
{
-/* $OpenBSD: rde_rib.c,v 1.5 2007/10/24 20:38:03 claudio Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.6 2023/03/08 04:43:14 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
}
}
-/* ARGSUSED */
void
route_action_timeout(int fd, short event, void *arg)
{
rde_send_change_kroute(r);
}
-/* ARGSUSED */
void
route_action_garbage(int fd, short event, void *arg)
{
-/* $OpenBSD: ripd.c,v 1.36 2021/09/06 13:32:18 deraadt Exp $ */
+/* $OpenBSD: ripd.c,v 1.37 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
exit(1);
}
-/* ARGSUSED */
void
main_sig_handler(int sig, short event, void *arg)
{
}
/* imsg handling */
-/* ARGSUSED */
void
main_dispatch_ripe(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
main_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: ripe.c,v 1.30 2021/01/19 10:20:47 claudio Exp $ */
+/* $OpenBSD: ripe.c,v 1.31 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
static struct imsgev *iev_main;
static struct imsgev *iev_rde;
-/* ARGSUSED */
void
ripe_sig_handler(int sig, short event, void *bula)
{
data, datalen));
}
-/* ARGSUSED */
void
ripe_dispatch_main(int fd, short event, void *bula)
{
}
}
-/* ARGSUSED */
void
ripe_dispatch_rde(int fd, short event, void *bula)
{
-/* $OpenBSD: lockd.c,v 1.15 2022/12/04 23:50:51 cheloha Exp $ */
+/* $OpenBSD: lockd.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 1995
}
static void
-/*ARGSUSED*/
sigalarm_handler(int s)
{
grace_expired = 1;
-/* $OpenBSD: lockd_lock.c,v 1.11 2022/12/28 21:30:18 jmc Exp $ */
+/* $OpenBSD: lockd_lock.c,v 1.12 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
*/
struct nlm4_holder *
-/*ARGSUSED*/
testlock(struct nlm4_lock *lock, int flags)
{
struct file_lock *fl;
}
void
-/*ARGSUSED*/
sigchild_handler(int sig)
{
int sstatus;
}
void
-/*ARGSUSED*/
send_granted(struct file_lock *fl, int opcode)
{
CLIENT *cli;
-/* $OpenBSD: procs.c,v 1.15 2015/01/16 06:40:20 deraadt Exp $ */
+/* $OpenBSD: procs.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 1995
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_test_res_1_svc(nlm_testres *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_cancel_res_1_svc(nlm_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_granted_res_1_svc(nlm_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* using monitored locks.
*/
void *
-/*ARGSUSED*/
nlm_free_all_3_svc(nlm_notify *arg, struct svc_req *rqstp)
{
static char dummy;
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm4_test_res_4_svc(nlm4_testres *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm4_lock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm4_cancel_res_4_svc(nlm4_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm4_unlock_res_4_svc(nlm4_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm4_granted_res_4_svc(nlm4_res *arg, struct svc_req *rqstp)
{
if (debug_level)
* using monitored locks.
*/
void *
-/*ARGSUSED*/
nlm4_free_all_4_svc(nlm_notify *arg, struct svc_req *rqstp)
{
static char dummy;
* Returns: Nothing
*/
void *
-/*ARGSUSED*/
nlm_sm_notify_0_svc(struct nlm_sm_status *arg, struct svc_req *rqstp)
{
static char dummy;
-/* $OpenBSD: sensorsd.c,v 1.68 2021/07/12 15:09:21 beck Exp $ */
+/* $OpenBSD: sensorsd.c,v 1.69 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
return (rval);
}
-/* ARGSUSED */
void
reparse_cfg(int signo)
{
-/* $OpenBSD: control.c,v 1.128 2021/06/14 17:58:15 eric Exp $ */
+/* $OpenBSD: control.c,v 1.129 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
event_add(&control_state.ev, NULL);
}
-/* ARGSUSED */
static void
control_accept(int listenfd, short event, void *arg)
{
}
}
-/* ARGSUSED */
static void
control_dispatch_ext(struct mproc *p, struct imsg *imsg)
{
-/* $OpenBSD: snmpe.c,v 1.87 2022/12/20 20:06:47 martijn Exp $ */
+/* $OpenBSD: snmpe.c,v 1.88 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2007, 2008, 2012 Reyk Floeter <reyk@openbsd.org>
proc_run(ps, p, procs, nitems(procs), snmpe_init, NULL);
}
-/* ARGSUSED */
void
snmpe_init(struct privsep *ps, struct privsep_proc *p, void *arg)
{
-/* $OpenBSD: privsep.c,v 1.74 2021/10/24 21:24:19 deraadt Exp $ */
+/* $OpenBSD: privsep.c,v 1.75 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org>
}
/* When child dies, move into the shutdown state */
-/* ARGSUSED */
static void
sig_got_chld(int sig)
{
-/* $OpenBSD: trpt.c,v 1.39 2019/12/02 21:47:54 cheloha Exp $ */
+/* $OpenBSD: trpt.c,v 1.40 2023/03/08 04:43:15 guenther Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
/*
* Tcp debug routines
*/
-/*ARGSUSED*/
void
tcp_trace(short act, short ostate, struct tcpcb *tp,
struct tcpiphdr *ti, struct tcpipv6hdr *ti6, int req)
-/* $OpenBSD: control.c,v 1.39 2022/01/04 15:22:53 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.40 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2010-2015 Reyk Floeter <reyk@openbsd.org>
return (0);
}
-/* ARGSUSED */
void
control_accept(int listenfd, short event, void *arg)
{
free(c);
}
-/* ARGSUSED */
void
control_dispatch_imsg(int fd, short event, void *arg)
{
-/* $OpenBSD: watchdogd.c,v 1.15 2015/01/16 06:40:22 deraadt Exp $ */
+/* $OpenBSD: watchdogd.c,v 1.16 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 2005 Marc Balmer <mbalmer@openbsd.org>
exit(1);
}
-/* ARGSUSED */
void
sighdlr(int signum)
{
-/* $OpenBSD: ypbind.c,v 1.77 2022/12/28 21:30:19 jmc Exp $ */
+/* $OpenBSD: ypbind.c,v 1.78 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
* declare sun's interface insufficient and roll our own.
*/
-/*ARGSUSED*/
static void *
ypbindproc_null_2x(SVCXPRT *transp, void *argp, CLIENT *clnt)
{
return (void *)&res;
}
-/*ARGSUSED*/
static struct ypbind_resp *
ypbindproc_domain_2x(SVCXPRT *transp, domainname *argp, CLIENT *clnt)
{
return &res;
}
-/*ARGSUSED*/
static bool_t *
ypbindproc_setdom_2x(SVCXPRT *transp, struct ypbind_setdom *argp, CLIENT *clnt)
{
-/* $OpenBSD: ypserv.c,v 1.44 2015/11/17 18:21:48 tedu Exp $ */
+/* $OpenBSD: ypserv.c,v 1.45 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
#endif
}
-/* ARGSUSED */
static void
closedown(int sig)
{
/* NOTREACHED */
}
-/* ARGSUSED */
void
sig_child(int signo)
{
errno = save_errno;
}
-/* ARGSUSED */
void
sig_hup(int signo)
{
-/* $OpenBSD: ypserv_proc.c,v 1.29 2015/01/16 06:40:23 deraadt Exp $ */
+/* $OpenBSD: ypserv_proc.c,v 1.30 2023/03/08 04:43:15 guenther Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
static char *False = "FALSE";
#define TORF(N) ((N) ? True : False)
-/*ARGSUSED*/
void *
ypproc_null_2_svc(void *argp, struct svc_req *rqstp)
{
return (&res);
}
-/*ARGSUSED*/
void *
ypproc_clear_2_svc(void *argp, struct svc_req *rqstp)
{
return (&res);
}
-/*ARGSUSED*/
void *
ypoldproc_null_1_svc(void *argp, struct svc_req *rqstp)
{