]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC cleanup of libusb20 example
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Aug 2014 14:53:02 +0000 (14:53 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Aug 2014 14:53:02 +0000 (14:53 +0000)
commitdb1eb5fd27fb7bf5ecda74378353e1b05b80ee85
tree4b1b59a04cef3d0c1ab7e88c5ee0994e41d3ef69
parentf86635dccd8570f30b39847dd55d50278c32c880
MFC cleanup of libusb20 example

r257779 by hselasky:

  - Use libusb20_strerror() function instead of custom usb_error() one.
  - Rename "aux.[ch]" to "util.[ch]" which is a more common name for
  utility functions and allows checkout on some non-FreeBSD systems
  where the "aux.*" namespace is reserved.
  - Fix some compile warnings while at it.

r257796 by glebius:

  Finish r257779.

PR: 183728

git-svn-id: svn://svn.freebsd.org/base/stable/10@269879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ObsoleteFiles.inc
share/examples/Makefile
share/examples/libusb20/Makefile
share/examples/libusb20/aux.c [deleted file]
share/examples/libusb20/bulk.c
share/examples/libusb20/control.c
share/examples/libusb20/util.c [new file with mode: 0644]
share/examples/libusb20/util.h [moved from share/examples/libusb20/aux.h with 92% similarity]