From 0fefdc6e2993db36a637be60691769267612df47 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 12:03:14 -0700 Subject: [PATCH] dix: tables.c should include header that defines InitialVector Clears warning from clang 19.1.7: dix/tables.c:59:7: warning: no previous extern declaration for non-static variable 'InitialVector' [-Wmissing-variable-declarations] 59 | int (*InitialVector[3]) (ClientPtr /* client */) = { | ^ Fixes: bae6cbc8c ("include: move private defs to dixstruct_priv.h") Signed-off-by: Alan Coopersmith Part-of: --- dix/tables.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dix/tables.c b/dix/tables.c index 5da4ffb75..22b44c408 100644 --- a/dix/tables.c +++ b/dix/tables.c @@ -51,6 +51,7 @@ SOFTWARE. #include "windowstr.h" #include "extnsionst.h" #include "dixstruct.h" +#include "dixstruct_priv.h" #include "dixevents.h" #include "dispatch.h" #include "swaprep.h"