[m-dev.] trivial diff: fix header file ordering problem
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Oct 19 08:00:04 AEST 1999
Estimated hours taken: 0.25
runtime/mercury_dlist.c:
runtime/mercury_prof_mem.c:
Add `#include "mercury_imp.h"' at the start,
to avoid compilation errors from gcc due to
"global register variable follows a function definition".
Workspace: /d-drive/home/hg/fjh/mercury
Index: runtime/mercury_dlist.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_dlist.c,v
retrieving revision 1.3
diff -u -r1.3 mercury_dlist.c
--- runtime/mercury_dlist.c 1999/10/18 15:46:52 1.3
+++ runtime/mercury_dlist.c 1999/10/18 21:55:04
@@ -8,6 +8,7 @@
** Linked list module.
*/
+#include "mercury_imp.h"
#include <stdio.h>
#include "mercury_memory.h"
#include "mercury_dlist.h"
Index: runtime/mercury_prof_mem.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_prof_mem.c,v
retrieving revision 1.6
diff -u -r1.6 mercury_prof_mem.c
--- runtime/mercury_prof_mem.c 1999/10/18 15:46:59 1.6
+++ runtime/mercury_prof_mem.c 1999/10/18 21:56:31
@@ -17,6 +17,8 @@
** problem occurring.
*/
+#include "mercury_imp.h"
+
#include <stdio.h>
#include "mercury_prof_mem.h"
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list