xfree86: xf86.h: unexport xf86FindScreenForEntity()

Not used by any external drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-21 10:21:49 +02:00
parent cdea9dc133
commit 1fbddfd8b1
3 changed files with 4 additions and 2 deletions

View File

@ -105,7 +105,6 @@ extern _X_EXPORT void xf86SetEntityInstanceForScreen(ScrnInfoPtr pScrn,
extern _X_EXPORT int xf86GetNumEntityInstances(int entityIndex); extern _X_EXPORT int xf86GetNumEntityInstances(int entityIndex);
extern _X_EXPORT GDevPtr xf86GetDevFromEntity(int entityIndex, int instance); extern _X_EXPORT GDevPtr xf86GetDevFromEntity(int entityIndex, int instance);
extern _X_EXPORT EntityInfoPtr xf86GetEntityInfo(int entityIndex); extern _X_EXPORT EntityInfoPtr xf86GetEntityInfo(int entityIndex);
extern _X_EXPORT ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
#define xf86SetLastScrnFlag(e, s) do { } while (0) #define xf86SetLastScrnFlag(e, s) do { } while (0)

View File

@ -76,5 +76,6 @@ Bool xf86ComparePciBusString(const char *busID, int bus, int device, int func);
Bool xf86DriverHasEntities(DriverPtr drvp); Bool xf86DriverHasEntities(DriverPtr drvp);
void xf86RemoveEntityFromScreen(ScrnInfoPtr pScrn, int entityIndex); void xf86RemoveEntityFromScreen(ScrnInfoPtr pScrn, int entityIndex);
Bool xf86IsEntityPrimary(int entityIndex); Bool xf86IsEntityPrimary(int entityIndex);
ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
#endif /* _XF86_BUS_H */ #endif /* _XF86_BUS_H */

View File

@ -15,10 +15,12 @@
#include <string.h> #include <string.h>
#include <X11/extensions/dpmsconst.h>
#include "xf86.h" #include "xf86.h"
#include "xf86Modes.h" #include "xf86Modes.h"
#include "vbe.h" #include "vbe.h"
#include <X11/extensions/dpmsconst.h> #include "xf86Bus.h"
#define VERSION(x) VBE_VERSION_MAJOR(x),VBE_VERSION_MINOR(x) #define VERSION(x) VBE_VERSION_MAJOR(x),VBE_VERSION_MINOR(x)