Make internal functions static
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 Jan 2014 07:01:15 +0000 (07:01 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 10 Jan 2014 07:01:15 +0000 (07:01 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54686 f5534014-38df-0310-8fa8-9805f1628bb7

filetap/file_access.c
wiretap/file_access.c
wsutil/filesystem.c

index da130ae8ca8947c1201521d15be79329e9b3bb04..53a5c078d3f6de604525abc5029d466904fb6c04 100644 (file)
@@ -208,7 +208,7 @@ GSList *ftap_get_all_file_extensions_list(void)
        return extensions;
 }
 
-int empty_open(ftap *wth _U_, int *err _U_, gchar **err_info _U_)
+static int empty_open(ftap *wth _U_, int *err _U_, gchar **err_info _U_)
 {
        return 0;
 }
@@ -423,7 +423,7 @@ static char *get_file_extension(const char *pathname)
        return extensionp;
 }      
 
-gboolean heuristic_uses_extension(unsigned int i, const char *extension)
+static gboolean heuristic_uses_extension(unsigned int i, const char *extension)
 {
        gchar **extensions_set, **extensionp;
 
index ecfc038d002838bf600c330a269dca4fe3806f06..0ea55b42c884ffd587740c3336a95ba89ea0f879 100644 (file)
@@ -559,7 +559,7 @@ static char *get_file_extension(const char *pathname)
        return extensionp;
 }      
 
-gboolean heuristic_uses_extension(unsigned int i, const char *extension)
+static gboolean heuristic_uses_extension(unsigned int i, const char *extension)
 {
        gchar **extensions_set, **extensionp;
 
index 5e4230153fb0d88d0d426acdc9c0d3c813eb7b73..181e5f44efb83cf64df5348e04ee0a2d038bb59c 100644 (file)
@@ -363,7 +363,7 @@ static gboolean running_in_build_directory_flag = FALSE;
  * use realpath() if they want the real thing, but that's also true of
  * something obtained by looking at argv[0].
  */
-const char *
+static const char *
 get_executable_path(void)
 {
 #if defined(__APPLE__)