trivial diff: fix bugs in trace/mercury_trace_table.c
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Nov 14 14:42:59 AEDT 1998
Estimated hours taken: 0.25
Fix another compilation error resulting from zs's recent change.
trace/mercury_trace_tables.c:
Pass NULL for the two new arguments of MR_trace_print_proc_id().
Index: trace/mercury_trace_tables.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_tables.c,v
retrieving revision 1.2
diff -u -r1.2 mercury_trace_tables.c
--- mercury_trace_tables.c 1998/10/28 05:24:20 1.2
+++ mercury_trace_tables.c 1998/11/14 03:36:09
@@ -174,7 +174,8 @@
fprintf(fp, "====================\n");
for (cur = MR_module_infos[i].MR_module_procs; cur != NULL;
cur = cur->MR_proc_next) {
- MR_print_proc_id(fp, cur->MR_proc_layout, NULL);
+ MR_print_proc_id(fp, cur->MR_proc_layout, NULL,
+ NULL, NULL);
}
}
}
@@ -204,7 +205,8 @@
fprintf(fp, "List of procedures in module `%s'\n\n", name);
for (cur = module->MR_module_procs; cur != NULL;
cur = cur->MR_proc_next) {
- MR_print_proc_id(fp, cur->MR_proc_layout, NULL);
+ MR_print_proc_id(fp, cur->MR_proc_layout, NULL,
+ NULL, NULL);
}
}
}
--
Fergus Henderson <fjh at cs.mu.oz.au> | "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh> | but source code lives forever"
PGP: finger fjh at 128.250.37.3 | -- leaked Microsoft memo.
More information about the developers
mailing list