diff src/sysdll.c @ 3841:5989b9bbb612

[xemacs-hg @ 2007-02-22 16:19:40 by stephent] Various warning fixes. <87lkiqkvpa.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Thu, 22 Feb 2007 16:19:44 +0000
parents 612eb81b76eb
children b3ea9c582280
line wrap: on
line diff
--- a/src/sysdll.c	Wed Feb 21 22:51:09 2007 +0000
+++ b/src/sysdll.c	Thu Feb 22 16:19:44 2007 +0000
@@ -267,12 +267,12 @@
  * (http://www.opendarwin.org/projects/dlcompat).
  */
 
-static struct mach_header*
+static const struct mach_header*
 image_for_address(void *address)
 {
   unsigned long i;
   unsigned long count = _dyld_image_count();
-  struct mach_header *mh = 0;
+  const struct mach_header *mh = 0;
 
   for (i = 0; i < count; i++)
     {