-/* $OpenBSD: ftpcmd.y,v 1.72 2021/05/23 17:01:21 jan Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.73 2021/05/31 16:18:01 jan Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
extern int epsvall;
static struct tab *
-lookup(p, cmd)
- struct tab *p;
- const char *cmd;
+lookup(struct tab *p, const char *cmd)
{
for (; p->name != NULL; p++)
* get_line - a hacked up version of fgets to ignore TELNET escape codes.
*/
int
-get_line(s, n)
- char *s;
- int n;
+get_line(char *s, int n)
{
int c;
char *cs;
/*ARGSUSED*/
void
-toolong(signo)
- int signo;
+toolong(int signo)
{
struct syslog_data sdata = SYSLOG_DATA_INIT;
}
static int
-yylex()
+yylex(void)
{
static int cpos;
char *cp, *cp2;
}
void
-upper(s)
- char *s;
+upper(char *s)
{
char *p;
}
static void
-help(ctab, s)
- struct tab *ctab;
- char *s;
+help(struct tab *ctab, char *s)
{
struct tab *c;
int width, NCMDS;
}
static void
-sizecmd(filename)
- const char *filename;
+sizecmd(const char *filename)
{
switch (type) {
case TYPE_L:
-/* $OpenBSD: monitor.c,v 1.28 2021/05/20 15:21:03 jan Exp $ */
+/* $OpenBSD: monitor.c,v 1.29 2021/05/31 16:18:01 jan Exp $ */
/*
* Copyright (c) 2004 Moritz Jodeit <moritz@openbsd.org>
* for the user-privileged slave process and 1 for the monitor process.
*/
int
-monitor_post_auth()
+monitor_post_auth(void)
{
slave_pid = fork();
if (slave_pid == -1)