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:
parent
525db17e04
commit
5c8fb7d128
|
@ -771,6 +771,4 @@ typedef enum {
|
||||||
ACTION_SWITCHSCREEN_PREV,
|
ACTION_SWITCHSCREEN_PREV,
|
||||||
} ActionEvent;
|
} ActionEvent;
|
||||||
|
|
||||||
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
|
|
||||||
|
|
||||||
#endif /* _XF86STR_H */
|
#endif /* _XF86STR_H */
|
||||||
|
|
|
@ -234,5 +234,6 @@
|
||||||
|
|
||||||
/* Public PCI access functions */
|
/* Public PCI access functions */
|
||||||
extern _X_EXPORT Bool xf86scanpci(void);
|
extern _X_EXPORT Bool xf86scanpci(void);
|
||||||
|
extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
|
||||||
|
|
||||||
#endif /* _XF86PCI_H */
|
#endif /* _XF86PCI_H */
|
||||||
|
|
Loading…
Reference in New Issue