r299481: buildkernel failure: pcib_if.h:165:61: error: declaration of 'enum pci_id_type'

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Wed, 11 May 2016 23:11:24 +0200
And again,

CURRENT fails to buildkernel due to the error shwon below:

[...]

In file included from /usr/src/sys/x86/x86/nexus.c:73:
./pcib_if.h:165:61: error: declaration of 'enum pci_id_type' will not be visible outside
of this function [-Werror,-Wvisibility] typedef int pcib_get_id_t(device_t pcib, device_t
dev, enum pci_id_type type, ^
./pcib_if.h:169:38: error: declaration of 'enum pci_id_type' will not be visible outside
of this function [-Werror,-Wvisibility] enum pci_id_type type, uintptr_t *id)
                                     ^
./pcib_if.h:169:50: error: variable has incomplete type 'enum pci_id_type'
                                enum pci_id_type type, uintptr_t *id)

Received on Wed May 11 2016 - 19:09:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC