From 240baf2f6885557cbd7d9a25e696598b5f6e39d8 Mon Sep 17 00:00:00 2001 From: Steven Wallace Date: Sun, 18 Sep 1994 05:45:29 +0000 Subject: Declare fuction setpassive in file cmds.c void and update corresponding prototype declaration in extern.h. --- usr.bin/ftp/cmds.c | 1 + usr.bin/ftp/extern.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index 95c2fb12a0a3..86740f23ebf4 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -2135,6 +2135,7 @@ macdef(argc, argv) /* * Start up passive mode interaction */ +void setpassive() { passivemode = !passivemode; diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h index d06b99d5c549..30ba06bdb049 100644 --- a/usr.bin/ftp/extern.h +++ b/usr.bin/ftp/extern.h @@ -120,7 +120,7 @@ void setglob __P((int, char **)); void sethash __P((int, char **)); void setnmap __P((int, char **)); void setntrans __P((int, char **)); -void setpassive __P((int, char **)); +void setpassive __P(()); void setpeer __P((int, char **)); void setport __P((int, char **)); void setprompt __P((int, char **)); -- cgit v1.3