From a35d6cae5b8e1de6eb78be101723cc7e2b9f65d6 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 7 Nov 2025 16:11:01 +0100 Subject: [PATCH] os: move OS_COMM_* defines into os/connection.c They're only used inside os/connection.c, so no need to have them in some header and expose them to other areas. Signed-off-by: Enrico Weigelt, metux IT consult --- os/connection.c | 3 +++ os/osdep.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os/connection.c b/os/connection.c index e91a4e06a5..fa5b543403 100644 --- a/os/connection.c +++ b/os/connection.c @@ -122,6 +122,9 @@ SOFTWARE. #define MAX_CONNECTIONS (1<<16) +#define OS_COMM_GRAB_IMPERVIOUS 1 +#define OS_COMM_IGNORED 2 + struct ospoll *server_poll; Bool NewOutputPending; /* not yet attempted to write some new output */ diff --git a/os/osdep.h b/os/osdep.h index c443b034c1..02f455f2d0 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -93,9 +93,6 @@ typedef struct _osComm { int flags; } OsCommRec, *OsCommPtr; -#define OS_COMM_GRAB_IMPERVIOUS 1 -#define OS_COMM_IGNORED 2 - int FlushClient(ClientPtr who, OsCommPtr oc); extern void FreeOsBuffers(OsCommPtr /*oc */