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:
Enrico Weigelt, metux IT consult 2024-03-14 13:54:07 +01:00 committed by Marge Bot
parent 5b23578f93
commit 16a3790d60
5 changed files with 12 additions and 9 deletions

View File

@ -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"

View File

@ -14,6 +14,7 @@
#include "xf86_OSproc.h"
#include "xf86.h"
#include "xf86_os_support.h"
#include "xf86platformBus.h"
#include "xf86Bus.h"

View File

@ -8,6 +8,7 @@
#include "xf86_OSproc.h"
#include "xf86.h"
#include "xf86_os_support.h"
#include "xf86platformBus.h"
Bool

View File

@ -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 */

View File

@ -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 */