Make the filename_to_url function static.

This commit is contained in:
david 2008-09-29 21:50:34 +00:00
parent e0870ade30
commit 05b5c87558

View file

@ -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];