xserver: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Mar 3 22:33:27 UTC 2024
glamor/glamor_debug.h | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 113ffdf85c1910bb818673795f859be6d79e50e1
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date: Thu Feb 1 16:25:11 2024 +0100
glamor: glamor_debug.h: drop unused AbortServer() declaration
This really looks like a leftover from b861aad8e2fcf6fe1fae4f26abb650bb4eb499c6.
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 at metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1265>
diff --git a/glamor/glamor_debug.h b/glamor/glamor_debug.h
index f64c44832..68189d484 100644
--- a/glamor/glamor_debug.h
+++ b/glamor/glamor_debug.h
@@ -35,10 +35,6 @@
#define GLAMOR_DEBUG_TEXTURE_DOWNLOAD 2
#define GLAMOR_DEBUG_TEXTURE_DYNAMIC_UPLOAD 3
-extern void
-AbortServer(void)
- _X_NORETURN;
-
#define GLAMOR_PANIC(_format_, ...) \
do { \
LogMessageVerb(X_NONE, 0, "Glamor Fatal Error" \
More information about the xorg-commit
mailing list