linux/tools/usb/usbip/libsrc
Antonio Borneo d5efc2e6b9 usbip: tools: fix build error for multiple definition
With GCC 10, building usbip triggers error for multiple definition
of 'udev_context', in:
- libsrc/vhci_driver.c:18 and
- libsrc/usbip_host_common.c:27.

Declare as extern the definition in libsrc/usbip_host_common.c.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20200618000844.1048309-1-borneo.antonio@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-24 15:02:29 +02:00
..
list.h
Makefile.am
names.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
names.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
sysfs_utils.c
sysfs_utils.h
usbip_common.c usbip: tools: fix GCC8 warning for strncpy 2019-07-25 18:12:20 +02:00
usbip_common.h
usbip_device_driver.c usbip: tools: Fix read_usb_vudc_device() error path handling 2019-10-28 17:51:06 +01:00
usbip_device_driver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
usbip_host_common.c usbip: tools: fix build error for multiple definition 2020-06-24 15:02:29 +02:00
usbip_host_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
usbip_host_driver.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
usbip_host_driver.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
vhci_driver.c
vhci_driver.h