trivial diff: library/builtin.m: fix warning

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Jul 25 22:46:05 AEST 1998


library/builtin.m:
	A small fix to avoid a warning from gcc:
	declare the function mercury__private_builtin__init()
	instead of mercury__builtin__init(), since we now call
	the former rather than the latter.

Index: library/builtin.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/builtin.m,v
retrieving revision 1.3
diff -u -r1.3 builtin.m
--- builtin.m	1998/07/22 07:41:24	1.3
+++ builtin.m	1998/07/25 11:57:46
@@ -444,7 +444,7 @@
 INIT sys_init_builtin_types_module
 */
 extern ModuleFunc builtin_types_module;
-extern void mercury__builtin__init(void);
+extern void mercury__private_builtin__init(void);
 void sys_init_builtin_types_module(void);
 void sys_init_builtin_types_module(void) {
 
-- 
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.



More information about the developers mailing list