From be96ceee71e8019c98d31ddeec76b41bc97cfe76 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 2 May 2024 15:11:35 +0200 Subject: [PATCH] include: dix.h: fix outdated comment The comment about ClientPtr also being defined in misc.h is outdated for about 20 years now: XFree86 4.3.0.1 dropped the redundant definition over there. It's still also in Xdefs.h, so the guard is still needed. Fixes: d568221710959cf7d783e6ff0fb80fb43a231124 Signed-off-by: Enrico Weigelt, metux IT consult Part-of: (cherry picked from commit 224fa46f2629ad4b08a980c1bbb58e64d4b7e04f) --- include/dix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dix.h b/include/dix.h index 576c0fc0f..7514f938f 100644 --- a/include/dix.h +++ b/include/dix.h @@ -135,7 +135,7 @@ SOFTWARE. typedef struct _TimeStamp *TimeStampPtr; #ifndef _XTYPEDEF_CLIENTPTR -typedef struct _Client *ClientPtr; /* also in misc.h */ +typedef struct _Client *ClientPtr; #define _XTYPEDEF_CLIENTPTR #endif