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:
parent
9562c93969
commit
7f27859fbe
|
|
@ -43,6 +43,7 @@
|
|||
#include "os.h"
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "hotplug_priv.h"
|
||||
|
||||
/* Bus-specific headers */
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -648,6 +648,7 @@ inc = include_directories(
|
|||
'miext/damage',
|
||||
'miext/shadow',
|
||||
'miext/sync',
|
||||
'config',
|
||||
'dbe',
|
||||
'dix',
|
||||
'dri3',
|
||||
|
|
|
|||
Loading…
Reference in New Issue