[m-rev.] trivial diff: fix needs_init in hlc.gc

David Jeffery dgj at cs.mu.OZ.AU
Thu Aug 23 15:47:55 AEST 2001


===================================================================

Estimated hours taken: 0.1

tests/hard_coded/needs_init.m:
	Include stdio.h in this test case so that FILE is defined
	in hlc grades.

===================================================================
Index: needs_init.m
===================================================================
RCS file: /home/mercury1/repository/tests/hard_coded/needs_init.m,v
retrieving revision 1.1
diff -u -t -r1.1 needs_init.m
--- needs_init.m	2001/08/21 06:58:41	1.1
+++ needs_init.m	2001/08/23 05:44:28
@@ -20,6 +20,7 @@
 hello --> write_string("hello, ").
 
 :- pragma c_header_code("
+#include <stdio.h>
 void run_at_init_time_init_type_tables(void);
 void run_at_init_time_write_out_proc_statics(FILE *);
 void run_at_init_time_init_debugger(void);



-- 
David Jeffery (dgj at cs.mu.oz.au) | If you want to build a ship, don't drum up 
PhD student,                    | people together to collect wood or assign 
Dept. of Comp. Sci. & Soft. Eng.| them tasks and work, but rather teach them 
The University of Melbourne     | to long for the endless immensity of the sea.
Australia                       | -- Antoine de Saint Exupery
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list