diff: fix runtime initialisation

Simon Taylor stayl at cs.mu.OZ.AU
Wed Aug 26 09:55:02 AEST 1998


Estimated hours taken: 0.1

runtime/mercury_context.c:
	Remove references to a nonexistent initialisation function
	mercury_sys_init_context().

runtime/mercury_thread.c
	Remove a duplicate `INIT..ENDINIT' for mercury_scheduler_wrapper().

Index: mercury_context.c
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_context.c,v
retrieving revision 1.12
diff -u -t -u -r1.12 mercury_context.c
--- mercury_context.c	1998/08/24 08:24:34	1.12
+++ mercury_context.c	1998/08/25 23:44:56
@@ -1,5 +1,5 @@
 /*
-INIT mercury_sys_init_context
+INIT mercury_scheduler_wrapper
 ENDINIT
 */
 /*
@@ -159,11 +159,6 @@
 {
         fatal_error("computation floundered");
 }
-
-/*
-INIT mercury_scheduler_wrapper
-ENDINIT
-*/
 
 BEGIN_MODULE(scheduler_module)
         init_entry(do_runnext);
Index: mercury_thread.c
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_thread.c,v
retrieving revision 1.5
diff -u -t -u -r1.5 mercury_thread.c
--- mercury_thread.c	1998/08/24 04:47:03	1.5
+++ mercury_thread.c	1998/08/25 23:46:07
@@ -1,8 +1,4 @@
 /*
-INIT mercury_scheduler_wrapper
-ENDINIT
-*/
-/*
 ** Copyright (C) 1997-1998 The University of Melbourne.
 ** This file may only be copied under the terms of the GNU Library General
 ** Public License - see the file COPYING.LIB in the Mercury distribution.




More information about the developers mailing list