[rtems-libbsd commit] C++ compatibility for <dev/pci/pcivar.h>

Sebastian Huber sebh at rtems.org
Mon Sep 23 09:01:24 UTC 2019

Module:    rtems-libbsd
Branch:    master
Commit:    82bccd8104c9e2cceef08d8f5373a4cda24f9ffb
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=82bccd8104c9e2cceef08d8f5373a4cda24f9ffb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jul 18 10:19:52 2019 +0200

C++ compatibility for <dev/pci/pcivar.h>


 freebsd/sys/dev/pci/pcivar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freebsd/sys/dev/pci/pcivar.h b/freebsd/sys/dev/pci/pcivar.h
index 8fd0d9f..2ea7b87 100644
--- a/freebsd/sys/dev/pci/pcivar.h
+++ b/freebsd/sys/dev/pci/pcivar.h
@@ -658,7 +658,7 @@ pci_child_added(device_t dev)
 device_t pci_find_bsf(uint8_t, uint8_t, uint8_t);
 device_t pci_find_dbsf(uint32_t, uint8_t, uint8_t, uint8_t);
 device_t pci_find_device(uint16_t, uint16_t);
-device_t pci_find_class(uint8_t class, uint8_t subclass);
+device_t pci_find_class(uint8_t cls, uint8_t subclass);
 /* Can be used by drivers to manage the MSI-X table. */
 int	pci_pending_msix(device_t dev, u_int index);

More information about the vc mailing list