Date: Tue, 2 Jun 2009 15:17:09 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Nicolas <c.r.n.a@wanadoo.fr> Cc: freebsd-multimedia@freebsd.org Subject: Re: USB webcam++ support for FreeBSD-8-current is soon here Message-ID: <200906021517.09787.hselasky@c2i.net> In-Reply-To: <4A2521C3.3050502@wanadoo.fr> References: <4A24F849.80204@wanadoo.fr> <200906021425.55635.hselasky@c2i.net> <4A2521C3.3050502@wanadoo.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 June 2009, Nicolas wrote: > Ok, i rename the struc in /usr/src/lib/libusb/libusb20_int.h > > And it does not compile: > > localhost# make > cc -O2 -pipe -march=prescott -std=gnu99 -fstack-protector -c > /usr/src/lib/libusb/libusb20_ugen20.c > /usr/src/lib/libusb/libusb20_ugen20.c:896: error: conflicting types for > 'ugen20_dev_get_info' > /usr/src/lib/libusb/libusb20_ugen20.c:54: error: previous declaration of > 'ugen20_dev_get_info' was here > *** Error code 1 > > What's else to modify ? > Nicolas. > > > Just rename it to "usb2_device_info" and it should compile. > > > > --HPS You need to change both the header file and the .c file so that the typedef is the same like the implementation function. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906021517.09787.hselasky>