current does not build on hppa

Markus Hennecke <[email protected]> Wed, 19 Sep 2007 22:11:11 +0200 (CEST)
Newsgroups gmane.os.openbsd.hppa
Message-ID <[email protected]>
Hello,

due to the changes in src/sys/dev/usb/ezload.c (rev 1.9) the kernel 
won't build any more on hppa. <malloc.h> must not be removed, as the 
code still makes use of it (using free() and M_DEVBUF).

There is another change in src/sys/dev/cardbus/cardbus.c (rev 1.36) 
which will make the kernel compile fail. The following diff will make it 
work again:

Index: cardbus.c
===================================================================
RCS file: /cvs/src/sys/dev/cardbus/cardbus.c,v
retrieving revision 1.36
diff -u -p -r1.36 cardbus.c
--- cardbus.c   19 Sep 2007 04:25:52 -0000      1.36
+++ cardbus.c   19 Sep 2007 20:05:57 -0000
@@ -913,7 +913,7 @@ tuple_name(int type)
                 return ("Reserved");
  }

-static void
+STATIC void
  print_tuple(u_int8_t *tuple, int len, void *data)
  {
         int i;


Greetings
   Markus