From 05b5c875581e310ccdbdbdd90019a2be498148d3 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 29 Sep 2008 21:50:34 +0000 Subject: [PATCH] Make the filename_to_url function static. --- NmapOps.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NmapOps.cc b/NmapOps.cc index 1f881ef5d..e58b808cd 100644 --- a/NmapOps.cc +++ b/NmapOps.cc @@ -176,7 +176,7 @@ int NmapOps::TimeSinceStartMS(struct timeval *now) { } // Convert a filename to a file:// URL. The return value must be freed. -char *filename_to_url(const char *filename) { +static char *filename_to_url(const char *filename) { std::string url(filename); char percent_buffer[10];