summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-02-08 16:42:40 +0100
committerMarge Bot <emma+marge@anholt.net>2024-03-03 22:42:41 +0000
commitcb7de8921410882b3d6c61b43292c7aa75aa9de2 (patch)
treeaad9f51f511f9e72d1c6c567d05ee5596bcf76ef
parentff6b196d1d1e15ab8cb12c571b09afc8c609aa97 (diff)
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>
-rw-r--r--include/dixfont.h1
-rw-r--r--include/dixfontstr.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/dixfont.h b/include/dixfont.h
index 65b5d2075..50f2ca0ae 100644
--- a/include/dixfont.h
+++ b/include/dixfont.h
@@ -26,7 +26,6 @@ SOFTWARE.
#include "dix.h"
#include <X11/fonts/font.h>
-#include "closure.h"
#include <X11/fonts/fontstruct.h>
#define NullDIXFontProp ((DIXFontPropPtr)0)
diff --git a/include/dixfontstr.h b/include/dixfontstr.h
index 7deb84ac5..eae1a3b58 100644
--- a/include/dixfontstr.h
+++ b/include/dixfontstr.h
@@ -28,7 +28,6 @@ SOFTWARE.
#include "dixfont.h"
#include <X11/fonts/fontstruct.h>
#include <X11/fonts/libxfont2.h>
-#include "closure.h"
#include <X11/Xproto.h> /* for xQueryFontReply */
#define FONTCHARSET(font) (font)