From 7a8f12361df08fe8a20410f624ac258f60892a16 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 f63b93c1ee..1e51a6e703 100644 --- a/os/osdep.h +++ b/os/osdep.h @@ -74,9 +74,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 */