Enrico Weigelt, metux IT consult
20b8ce2efb
os: unexport PrivsElevated()
...
This is an internal function, not used by drivers, which shouldn't have
been exported in the first place.
Fixes: 9ef602de46
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2024-03-07 13:29:05 +01:00
Enrico Weigelt, metux IT consult
53a0442b87
drop remains of DMX
...
DMX has long gone, but there's still some fallout from it's removal
yet to be cleaned up.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1362 >
2024-03-05 16:57:52 +01:00
Olivier Fourdan
a692ded3d9
build: Xwayland with GLAMOR requires libxshmfence
...
Without libxshmfence, Xwayland cannot build with GLAMOR support.
Make sure to catch that requirement in meson rather than failing the
build later.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1626
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1253 >
2024-03-03 23:29:40 +00:00
Olivier Fourdan
2ebde20eef
build: Use a variable for the xshmfence version
...
No functional change.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1253 >
2024-03-03 23:29:40 +00:00
Enrico Weigelt, metux IT consult
6999bc49d3
dix: unexport AttachOffloadGPU() and DetachOffloadGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:29 +00:00
Enrico Weigelt, metux IT consult
1277bb7143
dix: unexport AttachOutputGPU() and DetachOutputGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
71b81a7473
dix: unexport AttachUnboundGPU() and DetachUnboundGPU()
...
These aren't externally used, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
55dc4a8bdc
dix: unexport RemoveGPUScreen()
...
This function isn't used by any modules/drivers, so 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/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
27b83c4cd0
dix: unexport AddScreen() and AddGPUScreen()
...
These aren't used by any drivers/modules, just DDX'es, so no need to export.
Note: tigervnc does use it, but it has it's own DDX, therefore directly
linked in, just like the in-tree DDX'es which doesn't need exporting.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349 >
2024-03-03 23:24:28 +00:00
Enrico Weigelt, metux IT consult
dc84331f5d
include: drop obsolete registry.h
...
Now that there's no actual consumer of it left, it can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
17ad53c803
include: unexport registry.h
...
This file isn't included by any known modules, so no need to keep it
around in the public api.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
5f5d55be88
dix: unexport XREGISTRY_UNKNOWN define
...
It's not used by external modules, thus no need to have it in the
public API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
4ebb02cdda
dix: unexport extension registry functions
...
These aren't used by (known) external modules, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
1f5ab6ec28
dix: unexport RegisterResourceName() and LookupResourceName()
...
These aren't used by external modules, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
36e2cf64c8
dix: unexport registry setup/teardown functions
...
these aren't to be called by modules, thus no need to export them.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1348 >
2024-03-03 23:20:06 +00:00
Enrico Weigelt, metux IT consult
c3255fbc1c
os: drop unneeded DDXOSVERRORF conditional
...
This conditional practically only controls whether we have an pointer,
where DDX can plug in it's own VErrorF() handler (currently only xwin
doing that). The cost of having it even when DDX doesn't use it, is
really negligible: it's just one pointer and an extra non-null check
on it per VErrorF() call - a very cold path. Strangely, xwin has extra
Getting rid of this unnecessary complexity that really hasn't any
practical gain.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1329 >
2024-03-03 23:15:14 +00:00
Enrico Weigelt, metux IT consult
40c5d39c55
include: move xsha1.h to os/
...
This header is never exported and belongs to OS layer, thus no need to have it
in include/ directory, where all the public ones are - better off under os/.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1350 >
2024-03-03 23:11:05 +00:00
Enrico Weigelt, metux IT consult
ebabca56a4
consolidate MITSHM and HAS_SHM symbols
...
Both symbols are set on exactly the same condition (build_mitshm),
so can be consolidated into one: MITSHM
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1296 >
2024-03-03 23:07:18 +00:00
Enrico Weigelt, metux IT consult
77f9792911
os: simplify win32 uname()
...
Just define struct utsname and a tiny uname() function instead of
cluttering the code with ifdef's.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
02b5696e2b
xwin: winsock.h needs to be included earlier
...
[374/383] Compiling C object hw/xwin/Xming.exe.p/winmultiwindowicons.c.obj
791In file included from /usr/i686-w64-mingw32/include/X11/Xwinsock.h:57,
792 from /usr/i686-w64-mingw32/include/xcb/xcb_windefs.h:34,
793 from /usr/i686-w64-mingw32/include/xcb/xcb.h:41,
794 from ../hw/xwin/winmultiwindowicons.c:43:
795/usr/share/mingw-w64/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
796 15 | #warning Please include winsock2.h before windows.h
797 | ^~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
7bd19a9580
xwin: replace ZeroMemory()
...
replace Windows specific ZeroMemory (macro just calling memset())
by static initialization, calloc() and memset().
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
c444223da3
xwin: fix missing prototype for winValidateArgs()
...
[378/383] Compiling C object hw/xwin/Xming.exe.p/winvalargs.c.obj
811../hw/xwin/winvalargs.c:57:1: warning: no previous prototype for ‘winValidateArgs’ [-Wmissing-prototypes]
812 57 | winValidateArgs(void)
813 | ^~~~~~~~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
123a473e33
xwin: fix possibly missing string termination
...
../hw/xwin/InitOutput.c: In function ‘winFixupPaths’:
747../hw/xwin/InitOutput.c:578:9: warning: ‘strncpy’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation]
748 578 | strncpy(buffer, "HOME=", 5);
749 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
f855e35df2
xwin: winclipboard: fix missing prototypes / missing include
...
[324/383] Compiling C object hw/xwin/winclipboard/xwinclip.exe.p/debug.c.obj
666../hw/xwin/winclipboard/debug.c:31:1: warning: no previous prototype for ‘winDebug’ [-Wmissing-prototypes]
667 31 | winDebug(const char *format, ...)
668 | ^~~~~~~~
669../hw/xwin/winclipboard/debug.c: In function ‘winDebug’:
670../hw/xwin/winclipboard/debug.c:37:3: warning: function ‘winDebug’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
671 37 | count += vfprintf(stderr, format, ap);
672 | ^~~~~
673../hw/xwin/winclipboard/debug.c: At top level:
674../hw/xwin/winclipboard/debug.c:44:1: warning: no previous prototype for ‘ErrorF’ [-Wmissing-prototypes]
675 44 | ErrorF(const char *format, ...)
676 | ^~~~~~
677../hw/xwin/winclipboard/debug.c: In function ‘ErrorF’:
678../hw/xwin/winclipboard/debug.c:49:3: warning: function ‘ErrorF’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
679 49 | count = vfprintf(stderr, format, ap);
680 | ^~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
b93c614176
xwin: fix unused variables
...
../hw/xwin/winmultiwindowwndproc.c:418:17: warning: unused variable ‘ps’ [-Wunused-variable]
744 418 | PAINTSTRUCT ps;
745 | ^~
../hw/xwin/InitOutput.c:114:13: warning: ‘noDriExtension’ defined but not used [-Wunused-variable]
752 114 | static Bool noDriExtension;
753 | ^~~~~~~~~~~~~~
375/383] Compiling C object hw/xwin/Xming.exe.p/winprefs.c.obj
799../hw/xwin/winprefs.c: In function ‘LoadImageComma’:
800../hw/xwin/winprefs.c:545:14: warning: unused variable ‘convert’ [-Wunused-variable]
801 545 | Bool convert = FALSE;
802 | ^~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
de34a20dc3
os: fix mising prototype / include on WIN32 builds
...
[90/383] Compiling C object os/liblibxlibc.a.p/strcasestr.c.obj
359../os/strcasestr.c:45:1: warning: no previous prototype for ‘xstrcasestr’ [-Wmissing-prototypes]
360 45 | xstrcasestr(const char *s, const char *find)
361 | ^~~~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
0706c03f9d
os: fix unused variable on WIN32 build
...
../os/access.c:443:18: warning: unused variable ‘n’ [-Wunused-variable]
420 443 | register int n;
421 | ^
422
[120/383] Compiling C object os/liblibxserver_os.a.p/connection.c.obj
431../os/connection.c:137:14: warning: ‘ParentProcess’ defined but not used [-Wunused-variable]
432 137 | static Pid_t ParentProcess;
433 | ^~~~~~~~~~~~~
../os/connection.c:132:13: warning: ‘RunFromSmartParent’ defined but not used [-Wunused-variable]
435 132 | static Bool RunFromSmartParent; /* send SIGUSR1 to parent process */
436 | ^~~~~~~~~~~~~~~~~~
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
43a6d4eb61
os: fix unused variable on non-IPv6 build
...
[119/383] Compiling C object os/liblibxserver_os.a.p/access.c.obj
415../os/access.c: In function ‘DefineSelf’:
416../os/access.c:468:26: warning: unused variable ‘inet6addr’ [-Wunused-variable]
417 468 | struct sockaddr_in6 *inet6addr;
418 | ^~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
5d2f675ca8
os: utils: drop obsolete System() on non-win32 targets
...
This function is only used on WIN32 targets, so we can drop the *nix
implementation.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1295 >
2024-03-03 23:02:54 +00:00
Enrico Weigelt, metux IT consult
0acba54e54
miext: move private definitions out of public headers
...
public server module API headers shouldn't be clobbered with non-exported
definitions, so move them out to private header file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1293 >
2024-03-03 22:58:24 +00:00
Enrico Weigelt, metux IT consult
368055d3f1
render: move private definitions out of public glyphstr.h
...
Public module API headers don't need / shouldn't to contain anything that
isn't part of the API (non-exported functions, etc).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1287 >
2024-03-03 22:54:16 +00:00
Enrico Weigelt, metux IT consult
6ddade2e6a
render: move private definitions out of picturestr.h
...
Public module API headers don't need / shouldn't to contain anything that
isn't part of the API (non-exported functions, etc).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1287 >
2024-03-03 22:54:16 +00:00
Enrico Weigelt, metux IT consult
10a8031865
render: drop obsolete macros pict_f_transform and pict_f_vector
...
Over 1.5 decades ago, pixmap handling was moved to using pixman library,
but there's still a bit fallout from that left. Cleaning it up now.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1287 >
2024-03-03 22:54:16 +00:00
Enrico Weigelt, metux IT consult
06685cabde
composite: move out unexported CompositeIsImplicitRedirectException()
...
Move out non-exported stuff from public module header compositeext.h,
into compositeext_priv.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1284 >
2024-03-03 22:50:07 +00:00
Enrico Weigelt, metux IT consult
5b2c00d38a
include: drop closestr.h from public module API
...
None of the public module API functions use the types defined in here,
this file isn't even included anywhere (in the public headers). Thus it
doesn't seem to be needed in the public API at all - so make it private.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1281 >
2024-03-03 22:46:34 +00:00
Enrico Weigelt, metux IT consult
cb7de89214
include: drop unused including of closure.h
...
The headers dixfont.h and dixfontstr.h include closure.h, but don't use
any definitions from it, thus the include statements can be dropped.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1280 >
2024-03-03 22:42:41 +00:00
Enrico Weigelt, metux IT consult
ff6b196d1d
xfree86: parser: drop HAS_NO_UIDS
...
It's only locally defined when WIN32 is defined, so we can use this directly.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1278 >
2024-03-03 22:38:52 +00:00
Enrico Weigelt, metux IT consult
e439c9c8d7
xwayland: drop duplicate _X_EXPORT
...
These are already defined in glamor.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
489485ea7d
dix: drop duplicate _X_EXPORT
...
These are already defined in privates.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
6e90c5430a
miext: sync: drop duplicate _X_EXPORT from .c sources
...
There are already defined in misyncshm.h / misyncfd.h.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
25c0f8d98a
randr: drop duplicate _X_EXPORT from .c source
...
It's already defined in randrstr.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
13a756d0b5
Xi: drop duplicate _X_EXPORT from .c source
...
These are already defined in exevents.h.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
cc0e7fadc7
xace: drop duplicate export of XaceHooks from .c source
...
it's already defined in xace.h.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
e343a52fcf
glamor: drop duplicate _X_EXPORT from .c source
...
These are already defined in glamor.h
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
86ea30733f
xkb: drop duplicate _X_EXPORT from .c source
...
It's already defined in input.h, and that's where it belongs.
(we see from the header, which symbols belong to the module api)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1274 >
2024-03-03 22:34:26 +00:00
Enrico Weigelt, metux IT consult
113ffdf85c
glamor: glamor_debug.h: drop unused AbortServer() declaration
...
This really looks like a leftover from b861aad8e2 .
In any case, if that function shall become part of extension/driver API,
it should be declared with _X_EXPORT in some suitable header file - locally
declaring extern really isn't a good idea and just an invitation for subtle bugs.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1265 >
2024-03-03 22:29:52 +00:00
Enrico Weigelt, metux IT consult
ee011ea82b
xfree86: common: move non-exported funcs from dgaproc.h to separate header
...
The typdef and defines from dgaproc.h are used by drivers, so it needs to
remain part of the public API. But no need to clutter the public header
with non-exported function declarations.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1323 >
2024-02-29 10:27:08 +00:00
Enrico Weigelt, metux IT consult
22a67f7818
os: move string functions to separate source file
...
Unclutter the huge utils.c a bit, by moving out string functions to
their own source file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1336 >
2024-02-29 10:09:37 +00:00
Enrico Weigelt, metux IT consult
3e9ac852bc
os: move alloc functions to separate source file
...
Reduce the massive os/utils.c a little bit by moving out the alloc
functions to their own source file.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1336 >
2024-02-29 10:09:37 +00:00
Enrico Weigelt, metux IT consult
4705fa933a
xfree86: drop unneeded wrapper xf86PrivsElevated()
...
It's just a dumb wrapper around PrivsElevated(), and also just called in few
places, while others call PrivsElevated() directly - thus not needed and
can be dropped.
Note that it's also not called by drivers, so the export was unnecessary.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1324 >
2024-02-29 10:04:34 +00:00