summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-13 17:01:21 +0100
committerMarge Bot <emma+marge@anholt.net>2024-04-18 00:40:39 +0000
commit38030fce539131ac6cb1d90e9dcf2b13549384a0 (patch)
tree0c298e231883feeb0eebd43db6d850e45da485e0
parentb9569f1eb310566f1a4ebe851b264b174b5b0fa1 (diff)
xfree86: os-support: unexport xf86OSInputThreadInit()
This is just called by xfree86 core, not by any drivers, thus no need to export it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1456>
-rw-r--r--hw/xfree86/os-support/solaris/sun_vid.c1
-rw-r--r--hw/xfree86/os-support/xf86_OSproc.h1
-rw-r--r--hw/xfree86/os-support/xf86_os_support.h1
3 files changed, 2 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/solaris/sun_vid.c b/hw/xfree86/os-support/solaris/sun_vid.c
index fa7c2a82e..01a2bd89b 100644
--- a/hw/xfree86/os-support/solaris/sun_vid.c
+++ b/hw/xfree86/os-support/solaris/sun_vid.c
@@ -58,6 +58,7 @@
#include "xf86.h"
#include "xf86Priv.h"
+#include "xf86_os_support.h"
#include "xf86_OSlib.h"
#include "xf86OSpriv.h"
#include <sys/mman.h>
diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h
index 26f452d44..ecf11cb29 100644
--- a/hw/xfree86/os-support/xf86_OSproc.h
+++ b/hw/xfree86/os-support/xf86_OSproc.h
@@ -132,7 +132,6 @@ extern _X_EXPORT int xf86GetSerialModemState(int fd);
extern _X_EXPORT int xf86SerialModemSetBits(int fd, int bits);
extern _X_EXPORT int xf86SerialModemClearBits(int fd, int bits);
extern _X_EXPORT int xf86LoadKernelModule(const char *pathname);
-extern _X_EXPORT void xf86OSInputThreadInit(void);
/* AGP GART interface */
diff --git a/hw/xfree86/os-support/xf86_os_support.h b/hw/xfree86/os-support/xf86_os_support.h
index 30098a804..a711d3d21 100644
--- a/hw/xfree86/os-support/xf86_os_support.h
+++ b/hw/xfree86/os-support/xf86_os_support.h
@@ -25,5 +25,6 @@ PMClose xf86OSPMOpen(void);
void xf86InitVidMem(void);
void xf86OSRingBell(int volume, int pitch, int duration);
+void xf86OSInputThreadInit(void);
#endif /* _XSERVER_XF86_OS_SUPPORT */