xfree86: os-support: unexport xf86scanpci()

Not used by any drivers/modules, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1800>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-17 15:25:59 +01:00 committed by Marge Bot
parent b3ec0bf58a
commit e10283d842
2 changed files with 4 additions and 5 deletions

View File

@ -106,6 +106,8 @@
#ifndef _PCI_H
#define _PCI_H 1
#include <X11/Xdefs.h>
#include "xf86Pci.h"
/*
@ -135,4 +137,6 @@
#define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
#define PCI_TAG_NO_DOMAIN(tag) ((tag) & 0x00ffff00u)
Bool xf86scanpci(void);
#endif /* _PCI_H */

View File

@ -228,12 +228,7 @@
#define PCI_REG_USERCONFIG 0x40
#define PCI_OPTION_REG 0x40
/*
* Typedefs, etc...
*/
/* Public PCI access functions */
extern _X_EXPORT Bool xf86scanpci(void);
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
#endif /* _XF86PCI_H */