summaryrefslogtreecommitdiff
path: root/os/io.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-06-17 14:17:09 -0400
committerAdam Jackson <ajax@redhat.com>2012-01-06 13:29:53 -0500
commitc44ef2e1ff7bad168c348da63477b4636b3054fd (patch)
treeb305ec3395535a8cb08f6b54767c543440b35c91 /os/io.c
parent48e7a2ef574c8b38c4f8f07b45f54c8bfd02552b (diff)
os: Minor header cleanup
Move some constants near their only users, and remove some getdtablesize() logic that's second-guessing configure. Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'os/io.c')
-rw-r--r--os/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/io.c b/os/io.c
index bc3b83786..78b7260c7 100644
--- a/os/io.c
+++ b/os/io.c
@@ -129,6 +129,8 @@ static OsCommPtr AvailableInput = (OsCommPtr)NULL;
((xBigReq *)(req))->length)
#define MAX_TIMES_PER 10
+#define BUFSIZE 4096
+#define BUFWATERMARK 8192
/*
* A lot of the code in this file manipulates a ConnectionInputPtr: