On 16/06/2017 20:44, Adam Jackson wrote:
This symbol is used by some DRI2+ drivers and there's nothing
DRI1-specific about it.

Signed-off-by: Adam Jackson <[email protected]>
---
  hw/xfree86/common/xf86pciBus.c | 12 ++++++++++++
  hw/xfree86/common/xf86str.h    |  2 ++
  hw/xfree86/dri/dri.c           | 12 ------------
  hw/xfree86/dri/dri.h           |  2 --
  4 files changed, 14 insertions(+), 14 deletions(-)
[...]
diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
index edd91c745..79c4c9daf 100644
--- a/hw/xfree86/common/xf86str.h
+++ b/hw/xfree86/common/xf86str.h
@@ -771,4 +771,6 @@ typedef enum {
      ACTION_SWITCHSCREEN_PREV,
  } ActionEvent;
+extern _X_EXPORT char *DRICreatePCIBusID(const struct pci_device *dev);
+
  #endif                          /* _XF86STR_H */

It seems that moving DRICreatePCIBusID() to xf86str.h means that it now unconditionally appears in sdksyms.c. But the definition only exists if we're building with XORG_BUS_PCI.
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to