1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 23:49:03 +00:00

Move init_socket from nmap.cc to scan_engine.cc, because it is only used

in the latter file.
This commit is contained in:
david
2010-08-11 14:34:54 +00:00
parent 6bce039909
commit c78dcce4d3
3 changed files with 29 additions and 33 deletions

3
nmap.h
View File

@@ -425,9 +425,6 @@ void getpts_simple(const char *origexpr, int range_type,
unsigned short **list, int *count);
void free_scan_lists(struct scan_lists *ports);
/* socket manipulation functions */
void init_socket(int sd);
/* Renamed main so that interactive mode could preprocess when necessary */
int nmap_main(int argc, char *argv[]);