gdb
[deliverable/binutils-gdb.git] / gdb / macrocmd.c
index c9ab440f794b4514abfd222cc6049c9101ae0455..56e9a48ff22166b7dc0831a9c5a3c5232f80dcb1 100644 (file)
@@ -345,7 +345,8 @@ macro_undef_command (char *exp, int from_tty)
 
 
 static void
-print_one_macro (const char *name, const struct macro_definition *macro)
+print_one_macro (const char *name, const struct macro_definition *macro,
+                void *ignore)
 {
   fprintf_filtered (gdb_stdout, "macro define %s", name);
   if (macro->kind == macro_function_like)
@@ -366,7 +367,7 @@ print_one_macro (const char *name, const struct macro_definition *macro)
 static void
 macro_list_command (char *exp, int from_tty)
 {
-  macro_for_each (macro_user_macros, print_one_macro);
+  macro_for_each (macro_user_macros, print_one_macro, NULL);
 }
 
 
This page took 0.023366 seconds and 4 git commands to generate.