summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-01 18:52:58 +0100
committerMarge Bot <emma+marge@anholt.net>2024-06-23 21:19:27 +0000
commit06b599edb65c171c4104e4b0977b9be0130f03e8 (patch)
treeb722a0c4998adc2d9d49b5e7dc9d13b395d47dba /os
parent53e8ba3affcd7da22e464b72a5c69f118d438305 (diff)
dix: unexport fields from opaque.h not used by modules/drivers
Lots of fields from opaque.h aren't used by any drivers/modules and thus don't need to be exported at all. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1351>
Diffstat (limited to 'os')
-rw-r--r--os/WaitFor.c2
-rw-r--r--os/connection.c1
-rw-r--r--os/log.c1
-rw-r--r--os/osinit.c1
-rw-r--r--os/xdmcp.c2
5 files changed, 4 insertions, 3 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c
index ea84570b1..fbafa5ab0 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -70,7 +70,7 @@ SOFTWARE.
#include "misc.h"
#include "osdep.h"
#include "dixstruct_priv.h"
-#include "opaque.h"
+#include "globals.h"
#ifdef DPMSExtension
#include "dpmsproc.h"
#endif
diff --git a/os/connection.c b/os/connection.c
index 425e692cf..c47cf6ea7 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -102,7 +102,6 @@ SOFTWARE.
#include "os/osdep.h"
#include "misc.h" /* for typedef of pointer */
-#include "opaque.h"
#include "dixstruct_priv.h"
#include "xace.h"
diff --git a/os/log.c b/os/log.c
index 0f62f864e..9a702122b 100644
--- a/os/log.c
+++ b/os/log.c
@@ -87,6 +87,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <time.h>
#include <X11/Xos.h>
+#include "dix/dix_priv.h"
#include "os/audit.h"
#include "os/ddx_priv.h"
#include "os/fmt.h"
diff --git a/os/osinit.c b/os/osinit.c
index c01466aa0..01bb21743 100644
--- a/os/osinit.c
+++ b/os/osinit.c
@@ -60,6 +60,7 @@ SOFTWARE.
#include <execinfo.h>
#endif
+#include "dix/dix_priv.h"
#include "os/busfault.h"
#include "os/osdep.h"
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 603949807..7546d8309 100644
--- a/os/xdmcp.c
+++ b/os/xdmcp.c
@@ -40,6 +40,7 @@
#include <X11/X.h>
#include <X11/Xmd.h>
+#include "dix/dix_priv.h"
#include "os/auth.h"
#include "misc.h"
@@ -48,7 +49,6 @@
#include "xdmauth.h"
#include "input.h"
#include "dixstruct.h"
-#include "opaque.h"
#define XSERV_t
#define TRANS_SERVER