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>
(cherry picked from commit e10283d842)
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-17 15:25:59 +01:00 committed by Alan Coopersmith
parent 9d5cbe76ef
commit 67fbb2b1b9
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"
/*
@ -145,4 +147,6 @@ extern void osPciInit(void);
#error No PCI support available for this architecture/OS combination
#endif
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 */