Subject: pr5565--kernel won't compile
To: NetBSD/mac68k Mailing List <port-mac68k@NetBSD.ORG>
From: Frederick Bruckman <fredb@fb.sa.enteract.com>
List: port-mac68k
Date: 06/27/1998 14:13:41
Here's a patch that seems to work. I'm posting this to the list, as I'm
not sure who's supposed to get this.

--- /usr/src/sys/arch/mac68k/mac68k/machdep.c.orig      Tue Jun  9 06:14:38 1998
+++ /usr/src/sys/arch/mac68k/mac68k/machdep.c   Sat Jun 27 13:03:00 1998
@@ -339,10 +339,10 @@
                 * Initialize kernel debugger, if compiled in.
                 */
                {
-                       extern int end;
-                       extern int *esym;
+                       extern char end[];
+                       extern  u_long esym;

-                       ddb_init(*(int *)&end, ((int *)&end) + 1, esym);
+                       ddb_init(*(int *)&end, ((int *)&end) + 1, &esym);
                }
 #endif