1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Remove some unused/overused includes

This commit is contained in:
dmiller
2017-04-19 14:53:24 +00:00
parent 34841655c3
commit 339283d4b0
4 changed files with 3 additions and 7 deletions

View File

@@ -132,19 +132,15 @@
#include "nmap.h"
#include "osscan.h"
#include "osscan2.h"
#include "scan_engine.h"
#include "FPEngine.h"
#include "idle_scan.h"
#include "timing.h"
#include "NmapOps.h"
#include "MACLookup.h"
#include "traceroute.h"
#include "nmap_tty.h"
#include "nmap_dns.h"
#include "nmap_ftp.h"
#include "services.h"
#include "protocols.h"
#include "targets.h"
#include "tcpip.h"
#include "TargetGroup.h"

View File

@@ -131,8 +131,8 @@
* Modified by Colin Rice <dah4k0r@gmail.com> 2011
*/
#include "nmap.h"
#include "portlist.h"
#include "output.h"
#include "NmapOps.h"
#include "portreasons.h"
#include "Target.h"
@@ -142,7 +142,6 @@
#endif
extern NmapOps o;
class PortList;
/* Set the ip_addr union to the AF_INET or AF_INET6 value stored in *ss as
appropriate. Returns 0 on success or -1 if the address family of *ss is not

View File

@@ -144,6 +144,7 @@
#include <vector>
#include <set>
#include <algorithm>
class Target;
struct probespec_tcpdata {
u16 dport;

2
xml.cc
View File

@@ -187,9 +187,9 @@ All writing is done with log_write(LOG_XML), so if LOG_XML hasn't been
opened, calling these functions has no effect.
*/
#include "nmap.h"
#include "output.h"
#include "xml.h"
#include <nbase.h>
#include <assert.h>
#include <stdarg.h>