Ticket #122 (closed defect: fixed)

Opened 20 months ago

Last modified 17 months ago

warning: no previous prototype for ‘usbi_log_v’

Reported by: ludovicrousseau Owned by: Ludovic Rousseau <ludovic.rousseau+github@…>
Milestone: Component: libusb-1.0
Keywords: Cc:
Blocked By: Blocks:

Description

Fix a compiler warning

core.c:1686: warning: no previous prototype for ‘usbi_log_v’

Declare the usbi_log_v() function before using it.

This has been discussed on the mailing list in June 2010 [1] and then again in September 2011.
Patch attached.

[1] http://libusb.6.n5.nabble.com/warning-no-previous-prototype-for-usbi-log-v-td511534.html

Attachments

0002-Fix-a-compiler-warning.patch (1.5 KB) - added by ludovicrousseau 20 months ago.

Download all attachments as: .zip

Change History

Changed 20 months ago by ludovicrousseau

comment:1 Changed 17 months ago by Ludovic Rousseau <ludovic.rousseau+github@…>

  • Owner set to Ludovic Rousseau <ludovic.rousseau+github@…>
  • Resolution set to fixed
  • Status changed from new to closed

In [a8e2e7cab278fbfcba91909eaf762cf66da9eda5/libusb]:

Core: Fix #122 warning: no previous prototype for ‘usbi_log_v’

Declare the usbi_log_v() function before using it.

Note: See TracTickets for help on using tickets.