diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2019-05-12 21:49:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2019-05-12 21:49:53 +0000 |
commit | e40a90fff17b68a9892e00cd3e830f4e0e5a0965 (patch) | |
tree | ce39cebe4dc5a76912ba45b554c882393efbae84 /usr.bin/ftp | |
parent | 4485f587e5c5f3735c88cf502e2fd5bf3a364356 (diff) |
zap confusing unneeded parameters
okay jca@, jasper@
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index e5203aecd00..6495e2f6fc5 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.123 2019/05/12 21:30:48 jca Exp $ */ +/* $OpenBSD: main.c,v 1.124 2019/05/12 21:49:52 espie Exp $ */ /* * Copyright (c) 2015 Sunil Nimmagadda <sunil@openbsd.org> @@ -37,7 +37,7 @@ #include "ftp.h" #include "xmalloc.h" -static int auto_fetch(int, char **, int, char **); +static int auto_fetch(int, char **); static void child(int, int, char **); static int parent(int, pid_t); static struct url *proxy_parse(const char *); @@ -188,11 +188,11 @@ main(int argc, char **argv) usage(); #endif - return auto_fetch(argc, argv, save_argc, save_argv); + return auto_fetch(save_argc, save_argv); } static int -auto_fetch(int argc, char **argv, int sargc, char **sargv) +auto_fetch(int sargc, char **sargv) { pid_t pid; int sp[2]; |