mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Remove some unused/overused includes
This commit is contained in:
4
nmap.cc
4
nmap.cc
@@ -132,19 +132,15 @@
|
|||||||
|
|
||||||
#include "nmap.h"
|
#include "nmap.h"
|
||||||
#include "osscan.h"
|
#include "osscan.h"
|
||||||
#include "osscan2.h"
|
|
||||||
#include "scan_engine.h"
|
#include "scan_engine.h"
|
||||||
#include "FPEngine.h"
|
#include "FPEngine.h"
|
||||||
#include "idle_scan.h"
|
#include "idle_scan.h"
|
||||||
#include "timing.h"
|
|
||||||
#include "NmapOps.h"
|
#include "NmapOps.h"
|
||||||
#include "MACLookup.h"
|
#include "MACLookup.h"
|
||||||
#include "traceroute.h"
|
#include "traceroute.h"
|
||||||
#include "nmap_tty.h"
|
#include "nmap_tty.h"
|
||||||
#include "nmap_dns.h"
|
|
||||||
#include "nmap_ftp.h"
|
#include "nmap_ftp.h"
|
||||||
#include "services.h"
|
#include "services.h"
|
||||||
#include "protocols.h"
|
|
||||||
#include "targets.h"
|
#include "targets.h"
|
||||||
#include "tcpip.h"
|
#include "tcpip.h"
|
||||||
#include "TargetGroup.h"
|
#include "TargetGroup.h"
|
||||||
|
|||||||
@@ -131,8 +131,8 @@
|
|||||||
* Modified by Colin Rice <dah4k0r@gmail.com> 2011
|
* Modified by Colin Rice <dah4k0r@gmail.com> 2011
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "nmap.h"
|
|
||||||
#include "portlist.h"
|
#include "portlist.h"
|
||||||
|
#include "output.h"
|
||||||
#include "NmapOps.h"
|
#include "NmapOps.h"
|
||||||
#include "portreasons.h"
|
#include "portreasons.h"
|
||||||
#include "Target.h"
|
#include "Target.h"
|
||||||
@@ -142,7 +142,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern NmapOps o;
|
extern NmapOps o;
|
||||||
class PortList;
|
|
||||||
|
|
||||||
/* Set the ip_addr union to the AF_INET or AF_INET6 value stored in *ss as
|
/* 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
|
appropriate. Returns 0 on success or -1 if the address family of *ss is not
|
||||||
|
|||||||
@@ -144,6 +144,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
class Target;
|
||||||
|
|
||||||
struct probespec_tcpdata {
|
struct probespec_tcpdata {
|
||||||
u16 dport;
|
u16 dport;
|
||||||
|
|||||||
2
xml.cc
2
xml.cc
@@ -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.
|
opened, calling these functions has no effect.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "nmap.h"
|
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "xml.h"
|
#include "xml.h"
|
||||||
|
#include <nbase.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user