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>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-08 16:42:40 +01:00 committed by Marge Bot
parent ff6b196d1d
commit cb7de89214
2 changed files with 0 additions and 2 deletions

View File

@ -26,7 +26,6 @@ SOFTWARE.
#include "dix.h" #include "dix.h"
#include <X11/fonts/font.h> #include <X11/fonts/font.h>
#include "closure.h"
#include <X11/fonts/fontstruct.h> #include <X11/fonts/fontstruct.h>
#define NullDIXFontProp ((DIXFontPropPtr)0) #define NullDIXFontProp ((DIXFontPropPtr)0)

View File

@ -28,7 +28,6 @@ SOFTWARE.
#include "dixfont.h" #include "dixfont.h"
#include <X11/fonts/fontstruct.h> #include <X11/fonts/fontstruct.h>
#include <X11/fonts/libxfont2.h> #include <X11/fonts/libxfont2.h>
#include "closure.h"
#include <X11/Xproto.h> /* for xQueryFontReply */ #include <X11/Xproto.h> /* for xQueryFontReply */
#define FONTCHARSET(font) (font) #define FONTCHARSET(font) (font)