get_path is static
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 6 Sep 2012 20:58:48 +0000 (20:58 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 6 Sep 2012 20:58:48 +0000 (20:58 +0000)
src/server/server.c

index 1274286..90b3796 100644 (file)
@@ -116,9 +116,9 @@ void print_help()
 }
 
 /*
-  Returns the file path corresponding to a given URL
-*/
-char *get_path(const char *url, const char *www_dir)
* Returns the file path corresponding to a given URL
+ */
+static char *get_path(const char *url, const char *www_dir)
 {
        const char *p;
        char *res;