diff mbox

removed an unused parameter for show_symbol_list()

Message ID 1282818698.12802.23.camel@thorin (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Bernd Petrovitsch Aug. 26, 2010, 10:31 a.m. UTC
None
diff mbox

Patch

diff --git a/show-parse.c b/show-parse.c
index eab07c7..de3fea0 100644
--- a/show-parse.c
+++ b/show-parse.c
@@ -127,7 +127,7 @@  static void show_struct_member(const struct symbol
*sym)
 	printf("\n");
 }
 
-void show_symbol_list(const struct symbol_list *list, const char *sep)
+void show_symbol_list(const struct symbol_list *list)
 {
 	struct symbol *sym;
 	const char *prepend = "";
diff --git a/symbol.h b/symbol.h
index 720ad10..9a6af9d 100644
--- a/symbol.h
+++ b/symbol.h
@@ -277,7 +277,7 @@  extern const char *modifier_string(unsigned long
mod);
 extern void show_symbol(const struct symbol *);
 extern int show_symbol_expr_init(const struct symbol *sym);
 extern void show_type_list(struct symbol *);
-extern void show_symbol_list(const struct symbol_list *, const char *);
+extern void show_symbol_list(const struct symbol_list *);
 extern void add_symbol(struct symbol_list **, struct symbol *);
 extern void bind_symbol(struct symbol *, struct ident *, enum
namespace);
 
diff --git a/test-parsing.c b/test-parsing.c
index 0a0b1d4..dc1b083 100644
--- a/test-parsing.c
+++ b/test-parsing.c
@@ -44,7 +44,7 @@  int main(int argc, char **argv)
 	clean_up_symbols(list);
 
 #if 1
-	show_symbol_list(list, "\n\n");
+	show_symbol_list(list);
 	printf("\n\n");
 #endif
 
@@ -56,7 +56,7 @@  int main(int argc, char **argv)
 
 #if 1
 		// Show the end result.
-		show_symbol_list(list, "\n\n");
+		show_symbol_list(list);
 		printf("\n\n");
 #endif
 	} END_FOR_EACH_PTR_NOTAG(file);