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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-07 16:11:01 +01:00
committed by Enrico Weigelt
parent 445ee2da93
commit 7a8f12361d
2 changed files with 3 additions and 3 deletions

View File

@@ -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 */

View File

@@ -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 */