trivial diff: runtime/mercury_stack_trace.c: add `const'

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jul 2 18:08:23 AEST 1998


runtime/mercury_stack_trace.c:
	Add a missing `const'.

Index: runtime/mercury_stack_trace.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_stack_trace.c,v
retrieving revision 1.9
diff -u -r1.9 mercury_stack_trace.c
--- mercury_stack_trace.c	1998/06/18 06:08:05	1.9
+++ mercury_stack_trace.c	1998/07/02 07:59:44
@@ -59,7 +59,7 @@
 	Label			*label;
 	MR_Stack_Layout_Label	*layout;
 	MR_Stack_Layout_Entry	*entry_layout;
-	char			*result;
+	const char		*result;
 
 	fprintf(stderr, "Stack dump follows:\n");
 

-- 
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