Make internal functions static.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Mar 2013 21:58:47 +0000 (21:58 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Mar 2013 21:58:47 +0000 (21:58 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@48465 f5534014-38df-0310-8fa8-9805f1628bb7

file.c
version_info.c

diff --git a/file.c b/file.c
index 64829fb302a74b316e4dfb0b8afb6a1dfe77bc2d..a3b13f43bea7b8416b7dfbd771ddd70a96df6338 100644 (file)
--- a/file.c
+++ b/file.c
@@ -363,7 +363,7 @@ fail:
 /*
  * Add an encapsulation type to cf->linktypes.
  */
-void
+static void
 cf_add_encapsulation_type(capture_file *cf, int encap)
 {
   guint i;
index 511d9fc158a8cd22f4df7c62f9f1f68071aac1a5..a70bb03e78b2c9c2d40519e45e7f7b3d101bf370 100644 (file)
@@ -646,7 +646,7 @@ do_cpuid(guint32 *CPUInfo, int selector _U_){
  * the get_cpuid() routine will return 0 in CPUInfo[0] if cpuinfo isn't available.
  */
 
-void get_cpu_info(GString *str _U_)
+static void get_cpu_info(GString *str _U_)
 {
        int CPUInfo[4];
        char CPUBrandString[0x40];
@@ -675,7 +675,7 @@ void get_cpu_info(GString *str _U_)
 
 }
 
-void get_mem_info(GString *str _U_)
+static void get_mem_info(GString *str _U_)
 {
 #if defined(_WIN32)
        MEMORYSTATUSEX statex;