diff options
-rw-r--r-- | usr.bin/ftp/cmds.c | 1 | ||||
-rw-r--r-- | usr.bin/ftp/extern.h | 2 |
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 **)); |