xfree86: Move DRICreatePCIBusID to xf86Pci.h

xf86str.h is parsed into sdksyms unconditionally but the symbol is only
defined when building with PCI support. Move the decl to a header that
sdksyms only parses when building PCI support.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
Adam Jackson 2017-06-21 15:58:43 -04:00
parent 525db17e04
commit 5c8fb7d128
2 changed files with 1 additions and 2 deletions

View File

@ -771,6 +771,4 @@ typedef enum {
ACTION_SWITCHSCREEN_PREV,
} ActionEvent;
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
#endif /* _XF86STR_H */

View File

@ -234,5 +234,6 @@
/* Public PCI access functions */
extern _X_EXPORT Bool xf86scanpci(void);
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
#endif /* _XF86PCI_H */