version 1.4.30b
[polyglot.git] / io.h
diff --git a/io.h b/io.h
index ed470d6..7832262 100644 (file)
--- a/io.h
+++ b/io.h
@@ -8,13 +8,13 @@
 \r
 #include "util.h"\r
 \r
-// constants\r
+// defined\r
 \r
-const int BufferSize = 16384;\r
+#define BufferSize 16384\r
 \r
 // types\r
 \r
-struct io_t {\r
+typedef struct {\r
 \r
    int in_fd;\r
    int out_fd;\r
@@ -28,7 +28,7 @@ struct io_t {
 \r
    char in_buffer[BufferSize];\r
    char out_buffer[BufferSize];\r
-};\r
+} io_t;\r
 \r
 // functions\r
 \r