Page MenuHomeFreeBSD

libusb: make hotplug callback handle an int
Needs ReviewPublic

Authored by bapt on Fri, Mar 6, 8:09 AM.

Details

Reviewers
emaste
Group Reviewers
USB
Summary

Change libusb_hotplug_callback_handle from a pointer to an int,
matching the sourceforge's libusb API.
Handle backward compatibility.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71221
Build 68104: arc lint + arc unit

Event Timeline

bapt requested review of this revision.Fri, Mar 6, 8:09 AM

this one in particular I would love to get a review, this is the first time I plan with symbol version compatibility

kib added inline comments.
lib/libusb/libusb10_hotplug.c
531

Why not list the default symbols in Symbol.map?

538

This cannot work, you cannot export two different objects under same name+version. The point of versioning is to provide different versions.