summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-26 14:04:23 +0000
committerjkh <jkh@FreeBSD.org>1995-04-26 14:04:23 +0000
commitdec02faeac982ccf99444d469d66efdbe7f335d5 (patch)
tree27ef32356291821e32437e77c032c73a2d7fb934 /lib
parent4afd6c66c71faddfe03b3709510590894483f610 (diff)
downloadFreeBSD-src-dec02faeac982ccf99444d469d66efdbe7f335d5.zip
FreeBSD-src-dec02faeac982ccf99444d469d66efdbe7f335d5.tar.gz
Move <varargs.h> out of FtpLibrary.h and into the .c files that actually
need them. Fix a number of additional warnings.
Diffstat (limited to 'lib')
-rw-r--r--lib/libftp/FtpCommand.c1
-rw-r--r--lib/libftp/FtpGood.c1
-rw-r--r--lib/libftp/FtpLibrary.h1
3 files changed, 2 insertions, 1 deletions
diff --git a/lib/libftp/FtpCommand.c b/lib/libftp/FtpCommand.c
index 06421ba..94e8594 100644
--- a/lib/libftp/FtpCommand.c
+++ b/lib/libftp/FtpCommand.c
@@ -13,6 +13,7 @@ Commercial usage is also possible with participation of it's author.
*/
#include "FtpLibrary.h"
+#include <varargs.h>
STATUS FtpCommand(va_alist)
va_dcl
diff --git a/lib/libftp/FtpGood.c b/lib/libftp/FtpGood.c
index 332232a..e64959d 100644
--- a/lib/libftp/FtpGood.c
+++ b/lib/libftp/FtpGood.c
@@ -13,6 +13,7 @@ Commercial usage is also possible with participation of it's author.
*/
#include "FtpLibrary.h"
+#include <varargs.h>
STATUS FtpGood(va_alist)
va_dcl
diff --git a/lib/libftp/FtpLibrary.h b/lib/libftp/FtpLibrary.h
index 9a045d8..d834e3b 100644
--- a/lib/libftp/FtpLibrary.h
+++ b/lib/libftp/FtpLibrary.h
@@ -29,7 +29,6 @@ Commercial usage is also possible with participation of it's author.
#include <arpa/ftp.h>
#include <netinet/in.h>
#include <netdb.h>
-#include <varargs.h>
#include <arpa/telnet.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud