External namespace cleanup.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@210 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c
index bfa9171..8081e0a 100644
--- a/cachegrind/cg_main.c
+++ b/cachegrind/cg_main.c
@@ -191,18 +191,18 @@
 };
 
 /* BBCC_table structure:  list(filename, list(fn_name, list(BBCC))) */
-file_node *BBCC_table[N_FILE_ENTRIES];
+static file_node *BBCC_table[N_FILE_ENTRIES];
 
-Int  distinct_files      = 0;
-Int  distinct_fns        = 0;
+static Int  distinct_files      = 0;
+static Int  distinct_fns        = 0;
 
-Int  distinct_instrs     = 0;
-Int  full_debug_BBs      = 0;
-Int  file_line_debug_BBs = 0;
-Int  fn_name_debug_BBs   = 0;
-Int  no_debug_BBs        = 0;
+static Int  distinct_instrs     = 0;
+static Int  full_debug_BBs      = 0;
+static Int  file_line_debug_BBs = 0;
+static Int  fn_name_debug_BBs   = 0;
+static Int  no_debug_BBs        = 0;
 
-Int  BB_retranslations   = 0;
+static Int  BB_retranslations   = 0;
 
 static void init_BBCC_table()
 {
@@ -903,6 +903,7 @@
 
 /* Adds commas to ULong, right justifying in a field field_width wide, returns
  * the string in buf. */
+static
 Int commify(ULong n, int field_width, char buf[COMMIFY_BUF_LEN])
 {
    int len, n_commas, i, j, new_len, space;
@@ -932,6 +933,7 @@
    return new_len;
 }
 
+static
 void percentify(Int n, Int pow, Int field_width, char buf[]) 
 {
    int i, len, space;