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

parse_nmap_service_probe_file cannot be static

This commit is contained in:
fyodor
2006-06-13 02:05:06 +00:00
parent 87050f2a47
commit 6ba1799b22

View File

@@ -1043,7 +1043,9 @@ void ServiceProbe::addMatch(const char *match, int lineno) {
}
// Parses the given nmap-service-probes file into the AP class
static void parse_nmap_service_probe_file(AllProbes *AP, char *filename) {
/* Must NOT be static because I have externam maintenance tools (servicematch)
which use this */
void parse_nmap_service_probe_file(AllProbes *AP, char *filename) {
ServiceProbe *newProbe;
char line[2048];
int lineno = 0;