mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 19:19:13 +00:00
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:
@@ -771,6 +771,4 @@ typedef enum {
|
||||
ACTION_SWITCHSCREEN_PREV,
|
||||
} ActionEvent;
|
||||
|
||||
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
|
||||
|
||||
#endif /* _XF86STR_H */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user