From: Ben Pfaff Date: Wed, 12 Nov 2014 06:34:13 +0000 (-0800) Subject: dump: Rename dump_value__() to just dump_value(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9535e54cbdcdc1e376c0409e839ba3d95e7554d;p=pspp dump: Rename dump_value__() to just dump_value(). --- diff --git a/dump.c b/dump.c index 64ddcfdda8..8ec7e56ae1 100644 --- a/dump.c +++ b/dump.c @@ -355,7 +355,7 @@ format_to_string (int type) } static void -dump_value__(FILE *stream, int level, bool match1) +dump_value(FILE *stream, int level, bool match1) { match_byte(0); match_byte(0); @@ -466,7 +466,7 @@ dump_value__(FILE *stream, int level, bool match1) fprintf (stream, " "); fprintf (stream, "\n", i + 1); for (int j = 0; j < y; j++) - dump_value__ (stream, level + 2, false); + dump_value (stream, level + 2, false); for (int j = 0; j <= level + 1; j++) fprintf (stream, " "); fprintf (stream, "\n"); @@ -508,7 +508,7 @@ dump_category(int level, int *indexes, int *n_indexes) for (int i = 0; i <= level; i++) fprintf (stdout, " "); printf ("\n"); - dump_value__ (stdout, level + 1, true); + dump_value (stdout, level + 1, true); match_byte(0); match_byte(0); match_byte(0); @@ -555,7 +555,7 @@ dump_dim(int indx) int n_categories; printf ("\n", indx); - dump_value__ (stdout, 0, false); + dump_value (stdout, 0, false); /* This byte is usually 0x02 but 0x00 and 0x75 (!) have also been spotted. */ pos++; @@ -610,7 +610,7 @@ dump_data(void) { printf (" \n", get_u32()); match_u32_assert(0); - dump_value__(stdout, 1, false); + dump_value(stdout, 1, false); fprintf (stdout, " \n"); } printf ("\n"); @@ -621,17 +621,17 @@ dump_title(void) { pos = 0x27; printf ("\n"); - dump_value__(stdout, 0, true); + dump_value(stdout, 0, true); printf ("\n"); printf ("\n"); - dump_value__(stdout, 0, true); + dump_value(stdout, 0, true); printf ("\n"); match_byte_assert(0x31); printf ("\n"); - dump_value__(stdout, 0, true); + dump_value(stdout, 0, true); printf ("\n"); match_byte(0); @@ -639,7 +639,7 @@ dump_title(void) if (match_byte(0x31)) { printf ("\n"); - dump_value__(stdout, 0, false); + dump_value(stdout, 0, false); printf ("\n"); } else @@ -650,7 +650,7 @@ dump_title(void) for (int i = 0; i < n_footnotes; i++) { printf ("\n", i); - dump_value__(stdout, 0, false); + dump_value(stdout, 0, false); if (match_byte (0x31)) { /* Custom footnote marker string. */