xfree86: os-support: move unexported stuff out of xf86_OSproc.h
It's cleaner to have public headers only holding public stuff and xf86_os_support seems to be much more appropriate place for this. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1456>
This commit is contained in:
parent
5b23578f93
commit
16a3790d60
|
@ -45,6 +45,7 @@
|
|||
|
||||
#include "loaderProcs.h"
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSproc.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86str.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "xf86_OSproc.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86platformBus.h"
|
||||
#include "xf86Bus.h"
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "xf86_OSproc.h"
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86platformBus.h"
|
||||
|
||||
Bool
|
||||
|
|
|
@ -163,14 +163,5 @@ 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"
|
||||
void
|
||||
xf86PlatformDeviceProbe(struct OdevAttributes *attribs);
|
||||
|
||||
void
|
||||
xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs);
|
||||
#endif
|
||||
|
||||
_XFUNCPROTOEND
|
||||
#endif /* _XF86_OSPROC_H */
|
||||
|
|
|
@ -35,4 +35,13 @@ typedef struct {
|
|||
|
||||
void xf86OSInitVidMem(VidMemInfoPtr);
|
||||
|
||||
#ifdef XSERVER_PLATFORM_BUS
|
||||
#include "hotplug.h"
|
||||
void
|
||||
xf86PlatformDeviceProbe(struct OdevAttributes *attribs);
|
||||
|
||||
void
|
||||
xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs);
|
||||
#endif
|
||||
|
||||
#endif /* _XSERVER_XF86_OS_SUPPORT */
|
||||
|
|
Loading…
Reference in New Issue