Date: Sun, 29 Aug 1999 13:10:40 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Nick Hibma <hibma@skylink.it> Cc: current@FreeBSD.ORG Subject: Re: LINT trouble... Message-ID: <16481.935925040@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 29 Aug 1999 12:35:31 %2B0200." <Pine.BSF.4.10.9908291224330.2498-100000@heidi.plazza.it>
next in thread | previous in thread | raw e-mail | index | archive | help
These are current sources. This patch fixes the problem for me: Index: usbdi_util.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/usbdi_util.c,v retrieving revision 1.10 diff -u -r1.10 usbdi_util.c --- usbdi_util.c 1999/08/29 01:18:32 1.10 +++ usbdi_util.c 1999/08/29 11:08:26 @@ -43,10 +43,10 @@ #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/proc.h> -#include <sys/device.h> #if defined(__FreeBSD__) #include <sys/bus.h> #endif +#include <sys/device.h> #include <dev/usb/usb.h> #include <dev/usb/usbhid.h> In message <Pine.BSF.4.10.9908291224330.2498-100000@heidi.plazza.it>, Nick Hibm a writes: > >Please retry with current sources. I can' t reproduce the problem, but >I remember the error message, and having fixed it. > >Nick > > >On Sun, 29 Aug 1999, Poul-Henning Kamp wrote: > >> >> schizo# !! >> make >> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf ../../dev/usb/usbdi_util.c >> In file included from ../../dev/usb/usbdi_util.c:48: >> ../../sys/bus.h:42: `devclass' defined as wrong kind of tag >> *** Error code 1 >> >> Stop in /usr/src/sys/compile/LINT. >> schizo# >> >> -- >> Poul-Henning Kamp FreeBSD coreteam member >> phk@FreeBSD.ORG "Real hackers run -current on their laptop." >> FreeBSD -- It will take a long time before progress goes too far! >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-current" in the body of the message >> >> > >-- >e-Mail: hibma@skylink.it > > > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16481.935925040>