Module Name: src
Committed By: lukem
Date: Sun Apr 9 06:10:03 UTC 2023
Modified Files:
src/usr.bin/ftp: ssl.c
Log Message:
Simplify includes
Include "ftp_var.h" instead of various system headers and "extern.h".
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/ftp/ssl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ftp/ssl.c
diff -u src/usr.bin/ftp/ssl.c:1.13 src/usr.bin/ftp/ssl.c:1.14
--- src/usr.bin/ftp/ssl.c:1.13 Sat Feb 25 12:07:25 2023
+++ src/usr.bin/ftp/ssl.c Sun Apr 9 06:10:03 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: ssl.c,v 1.13 2023/02/25 12:07:25 mlelstv Exp $ */
+/* $NetBSD: ssl.c,v 1.14 2023/04/09 06:10:03 lukem Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ssl.c,v 1.13 2023/02/25 12:07:25 mlelstv Exp $");
+__RCSID("$NetBSD: ssl.c,v 1.14 2023/04/09 06:10:03 lukem Exp $");
#endif
#include <errno.h>
@@ -63,11 +63,7 @@ __RCSID("$NetBSD: ssl.c,v 1.13 2023/02/2
#endif
#include "ssl.h"
-
-#include <stringlist.h>
-#include <histedit.h>
-#include <sys/poll.h>
-#include "extern.h"
+#include "ftp_var.h"
extern int quit_time, verbose, ftp_debug;
extern FILE *ttyout;