diff: Declare MR_edt_root_node in runtime/mercury_init.h

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Fri Apr 16 15:48:29 AEST 1999


Hi,

Somehow I forgot to include this as part of the last changes.
This fixes a bug when using `--enable-decl-debug'.


Estimated hours taken: 0.1

runtime/mercury_init.h:
	Copy the declaration of MR_edt_root_node from
	trace/mercury_trace_declarative.h to here.  This is so
	the `--enable-decl-debug' configure option can work.


Index: runtime/mercury_init.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_init.h,v
retrieving revision 1.10
diff -u -r1.10 mercury_init.h
--- mercury_init.h	1999/02/04 10:52:57	1.10
+++ mercury_init.h	1999/04/16 05:27:47
@@ -116,6 +116,9 @@
 extern	void	ML_io_print_to_cur_stream(Word, Word);
 extern	void	ML_io_print_to_stream(Word, Word, Word);
 
+/* in trace/mercury_trace_declarative.h */
+extern	void	MR_edt_root_node(Word EDT, Word *Node);
+
 /* in trace/mercury_trace_external.h */
 extern	void	MR_trace_init_external(void);
 extern	void	MR_trace_final_external(void);

-- 
Mark Brown  (dougl at cs.mu.oz.au)       )O+   |  For Microsoft to win,
MEngSc student,                             |  the customer must lose
Dept of Computer Science, Melbourne Uni     |          -- Eric S. Raymond



More information about the developers mailing list