Re: hid_report_size() prototype wrong in both -stable and -current

2001-04-18 Thread n_hibma

Concidental. The code that is in libusb is also present in the kernel.

Nick


On Tue, 17 Apr 2001, Nick Sayer wrote:

 
  usb.h != libusb.h
 
  NetBSD has a stupid naming convention. Use libusb.h in FreeBSD.

 Ok. That's as may be, but then why are there prototypes for libusb calls in
 dev/usb.h?

 
  The prototypes are correct as is.

 They may be in libusb.h, but the prototype for that function in
 sys/dev/usb.h is mysterious.



-- 
The USB for FreeBSD project.
[EMAIL PROTECTED]
http://www.etla.net/~n_hibma/usb/usb.pl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: hid_report_size() prototype wrong in both -stable and -current

2001-04-17 Thread Nick Sayer

 
 usb.h != libusb.h
 
 NetBSD has a stupid naming convention. Use libusb.h in FreeBSD.
 
 Ok. That's as may be, but then why are there prototypes for libusb
 calls in dev/usb.h?

Sorry, meant to say /usr/include/dev/usb/hid.h

 
 
 The prototypes are correct as is.
 
 They may be in libusb.h, but the prototype for that function in
sys/dev/usb.h is mysterious.

/usr/include/dev/usb/hid.h



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: hid_report_size() prototype wrong in both -stable and -current

2001-04-17 Thread n_hibma


usb.h != libusb.h

NetBSD has a stupid naming convention. Use libusb.h in FreeBSD.

The prototypes are correct as is. The changes to libusb made in CURRENT
have not been backported to STABLE (yet).

Nick

On Tue, 17 Apr 2001, Nick Sayer wrote:


 The definition of hid_report_size() differs between -stable and -current (as
 to its prototype), yet /usr/src/sys/dev/usb.h shows no difference between
 -stable and -current, and is wrong in either case.

 This is causing some heartburn for -current builders of the xmame port.

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message


-- 
The USB for FreeBSD project.
[EMAIL PROTECTED]
http://www.etla.net/~n_hibma/usb/usb.pl


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: hid_report_size() prototype wrong in both -stable and -current

2001-04-17 Thread Nick Sayer

 
 usb.h != libusb.h
 
 NetBSD has a stupid naming convention. Use libusb.h in FreeBSD.

Ok. That's as may be, but then why are there prototypes for libusb calls in
dev/usb.h?

 
 The prototypes are correct as is.

They may be in libusb.h, but the prototype for that function in
sys/dev/usb.h is mysterious.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message