current does not build on hppa

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

current does not build on hppa

Markus Hennecke

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;