From 006f0ec78cdee02ea32ee31f572e8f0a40f9501b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 9 Sep 2025 14:52:25 +0200 Subject: [PATCH] Xi: move VPC define into the only source using it Only used inside listdev.c, so no need to have it within a header. Signed-off-by: Enrico Weigelt, metux IT consult --- Xi/listdev.c | 2 ++ Xi/listdev.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xi/listdev.c b/Xi/listdev.c index 8c83abf99..ea3b3ae00 100644 --- a/Xi/listdev.c +++ b/Xi/listdev.c @@ -70,6 +70,8 @@ SOFTWARE. #include "xkbstr.h" #include "listdev.h" +#define VPC 20 /* Max # valuators per chunk */ + /*********************************************************************** * * This procedure calculates the size of the information to be returned diff --git a/Xi/listdev.h b/Xi/listdev.h index 89105733e..6be15152f 100644 --- a/Xi/listdev.h +++ b/Xi/listdev.h @@ -25,8 +25,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #ifndef LISTDEV_H #define LISTDEV_H 1 -#define VPC 20 /* Max # valuators per chunk */ - int ProcXListInputDevices(ClientPtr /* client */ );