xfree86: os-support: move hidden Solaris-specific symbols out of public header
These aren't exported at all, so no need to have it in public header. 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
7429f8ee8f
commit
0f715b4ca4
|
@ -39,6 +39,7 @@
|
|||
#include "xf86Config.h"
|
||||
#include "xf86MatchDrivers.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_os_support.h"
|
||||
#include "xf86_OSlib.h"
|
||||
#include "xf86platformBus.h"
|
||||
#include "xf86pciBus.h"
|
||||
|
|
|
@ -67,7 +67,7 @@ static char consoleDev[PATH_MAX] = "/dev/fb";
|
|||
|
||||
/* Set by -dev argument on CLI
|
||||
Used by hw/xfree86/common/xf86AutoConfig.c for VIS_GETIDENTIFIER */
|
||||
_X_HIDDEN char xf86SolarisFbDev[PATH_MAX] = "/dev/fb";
|
||||
char xf86SolarisFbDev[PATH_MAX] = "/dev/fb";
|
||||
|
||||
#ifdef HAS_USL_VTS
|
||||
static void
|
||||
|
|
|
@ -104,15 +104,9 @@
|
|||
#endif
|
||||
#include <sys/kd.h>
|
||||
#include <sys/vt.h>
|
||||
|
||||
extern _X_HIDDEN void xf86VTAcquire(int);
|
||||
extern _X_HIDDEN void xf86VTRelease(int);
|
||||
#endif
|
||||
|
||||
#if defined(__sun)
|
||||
#include <sys/fbio.h>
|
||||
extern _X_HIDDEN char xf86SolarisFbDev[PATH_MAX];
|
||||
|
||||
#include <sys/kbd.h>
|
||||
#include <sys/kbio.h>
|
||||
|
||||
|
|
|
@ -59,4 +59,12 @@ void
|
|||
xf86PlatformReprobeDevice(int index, struct OdevAttributes *attribs);
|
||||
#endif
|
||||
|
||||
#if defined(__sun)
|
||||
extern char xf86SolarisFbDev[PATH_MAX];
|
||||
|
||||
/* these are only used inside sun-specific os-support */
|
||||
void xf86VTAcquire(int);
|
||||
void xf86VTRelease(int);
|
||||
#endif
|
||||
|
||||
#endif /* _XSERVER_XF86_OS_SUPPORT */
|
||||
|
|
Loading…
Reference in New Issue