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

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

Module:    rtems-libbsd
Branch:    5-freebsd-12
Commit:    329cf5c013eb7aba06b1c7bd3551c864714fa143
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=329cf5c013eb7aba06b1c7bd3551c864714fa143

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 b530fdc..30f7212 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