Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp Simplify includes



details:   https://anonhg.NetBSD.org/src/rev/dd3fde0a837e
branches:  trunk
changeset: 374179:dd3fde0a837e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Apr 09 06:10:03 2023 +0000

description:
Simplify includes

Include "ftp_var.h" instead of various system headers and "extern.h".

diffstat:

 usr.bin/ftp/ssl.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 1c7f844e722d -r dd3fde0a837e usr.bin/ftp/ssl.c
--- a/usr.bin/ftp/ssl.c Fri Apr 07 12:09:13 2023 +0000
+++ b/usr.bin/ftp/ssl.c Sun Apr 09 06:10:03 2023 +0000
@@ -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 @@
 #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;



Home | Main Index | Thread Index | Old Index