commit | 21a163a3954a0f8ae647283f48215e3e3c8caaa2 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Wed Jan 22 17:02:20 2020 -0800 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Fri Jan 24 11:21:42 2020 -0800 |
tree | c1ea70a36936227c4b0495cb33d02c34483696af | |
parent | 5c7ddb5ddf1fe1d9f8c68e7deefe3bd53e1e3e8c [diff] |
Misc: Clean up zero-length strings and recursion in clock_gettime() Commit 0bf84e4d51 ("core: fix build warning on newer versions of gcc") addressed compiler warnings for zero-length printf format strings in the core library files, but there are some additional remaining in some of the backends. Address these remaining ones in the same manner. Also remove the usbi_dbg() call in netbsd_clock_gettime(). This causes infinite recursion since usbi_dbg() calls the backend's clock_gettime() function. This was similarly addressed for the OpenBSD backend in commit 6acbd8b405 ("Remove infinite recursion in OpenBSD backend"). Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)