summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1994-09-18 05:45:29 +0000
committerswallace <swallace@FreeBSD.org>1994-09-18 05:45:29 +0000
commit2cfc98498ce318e7ab39c137465fefa306d3bbbf (patch)
tree5c913e0a34aee65342f78aa291cd747b5a5e3957 /usr.bin
parent8d2ab06cf5c4db438df84df9409b348869192508 (diff)
downloadFreeBSD-src-2cfc98498ce318e7ab39c137465fefa306d3bbbf.zip
FreeBSD-src-2cfc98498ce318e7ab39c137465fefa306d3bbbf.tar.gz
Declare fuction setpassive in file cmds.c void and update corresponding
prototype declaration in extern.h.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/cmds.c1
-rw-r--r--usr.bin/ftp/extern.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c
index 95c2fb1..86740f2 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 d06b99d..30ba06b 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 **));
OpenPOWER on IntegriCloud