Subject: _cachectl() prototype added: please test
To: None <port-m68k@netbsd.org>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: port-m68k
Date: 12/21/1998 13:23:07
Hello,

I added a _cachectl() prototype to ld.aout_so/arch/m68k/md.h.
This _should_ fix the warning Eric Fair reported.

Note that I did NOT have a m68k source tree and tool chain around to test this
(I wont find time to test @home until the holidays), so testing is up to you.

For those wanting to test without waiting for the next sup:

Index: md.h
===================================================================
RCS file: /cvsroot/src/libexec/ld.aout_so/arch/m68k/md.h,v
retrieving revision 1.6
diff -u -r1.6 md.h
--- md.h        1998/10/19 03:09:32     1.6
+++ md.h        1998/12/21 12:07:38
@@ -4,6 +4,11 @@
  *     - m68k dependent definitions
  */
 
+/*
+ * Prototype for the m68k _cachectl trap stub in mdprologue.S
+ */
+void _cachectl __P((void *, size_t));
+
 #if defined(CROSS_LINKER) && defined(XHOST) && XHOST==i386
 #define NEED_SWAP
 #endif

Regards,
	Ignatios Souvatzis
-- 
 * Progress (n.): The process through which Usenet has evolved from
   smart people in front of dumb terminals to dumb people in front of
   smart terminals.  -- obs@burnout.demon.co.uk (obscurity)