mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Remove some unused/overused includes
This commit is contained in:
parent
34841655c3
commit
339283d4b0
4 changed files with 3 additions and 7 deletions
4
nmap.cc
4
nmap.cc
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@
|
|||
#include <vector>
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
class Target;
|
||||
|
||||
struct probespec_tcpdata {
|
||||
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.
|
||||
*/
|
||||
|
||||
#include "nmap.h"
|
||||
#include "output.h"
|
||||
#include "xml.h"
|
||||
#include <nbase.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue