include: move out private definitions from hotplug.h

Public server module API shouldn't be clobbered with private definitions,
thus move them out to private header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-12 19:07:33 +01:00
parent 9562c93969
commit 7f27859fbe
5 changed files with 16 additions and 1 deletions

View File

@ -43,6 +43,7 @@
#include "os.h"
#include "xf86.h"
#include "xf86Priv.h"
#include "hotplug_priv.h"
/* Bus-specific headers */

View File

@ -66,6 +66,7 @@
#include <pciaccess.h>
#endif
#include "driver.h"
#include "hotplug_priv.h"
static void AdjustFrame(ScrnInfoPtr pScrn, int x, int y);
static Bool CloseScreen(ScreenPtr pScreen);

View File

@ -42,7 +42,7 @@
#include "xf86Xinput_priv.h"
#include "xf86Priv.h"
#include "globals.h"
#include "hotplug_priv.h"
#include "systemd-logind.h"
struct systemd_logind_info {

View File

@ -150,5 +150,17 @@ extern _X_EXPORT Bool xf86GARTCloseScreen(int screenNum);
extern _X_EXPORT int xf86InstallSIGIOHandler(int fd, void (*f) (int, void *),
void *);
#ifdef XSERVER_PLATFORM_BUS
#include "hotplug.h"
struct OdevAttributes;
void
xf86PlatformDeviceProbe(struct OdevAttributes *attribs);
void
xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs);
#endif
_XFUNCPROTOEND
#endif /* _XF86_OSPROC_H */

View File

@ -648,6 +648,7 @@ inc = include_directories(
'miext/damage',
'miext/shadow',
'miext/sync',
'config',
'dbe',
'dix',
'dri3',