Skip to content

Commit 80381b4

Browse files
committed
[PR #1365] os: move OS_COMM_* defines into os/connection.c
PR: #1365
1 parent 871c612 commit 80381b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

os/connection.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ SOFTWARE.
122122

123123
#define MAX_CONNECTIONS (1<<16)
124124

125+
#define OS_COMM_GRAB_IMPERVIOUS 1
126+
#define OS_COMM_IGNORED 2
127+
125128
struct ospoll *server_poll;
126129

127130
Bool NewOutputPending; /* not yet attempted to write some new output */

os/osdep.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ typedef struct _osComm {
8888
int flags;
8989
} OsCommRec, *OsCommPtr;
9090

91-
#define OS_COMM_GRAB_IMPERVIOUS 1
92-
#define OS_COMM_IGNORED 2
93-
9491
int FlushClient(ClientPtr who, OsCommPtr oc);
9592

9693
extern void FreeOsBuffers(OsCommPtr /*oc */

0 commit comments

Comments
 (0)