summaryrefslogtreecommitdiff
path: root/lisp/io.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
commit10dc4a2c37597e02c12a9df3e9dba02a73bfc11b (patch)
tree862068307dff135870c4ae58be677408c4942a39 /lisp/io.h
parent8ae60bfe8a4b233100f5128859c76239e5789f70 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'lisp/io.h')
-rw-r--r--lisp/io.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/io.h b/lisp/io.h
index eb5edc6..81b9424 100644
--- a/lisp/io.h
+++ b/lisp/io.h
@@ -27,12 +27,12 @@
* Author: Paulo César Pereira de Andrade
*/
-/* $XFree86: xc/programs/xedit/lisp/io.h,v 1.8 2002/12/06 03:25:27 paulo Exp $ */
+/* $XFree86: xc/programs/xedit/lisp/io.h,v 1.10 2003/05/27 22:27:03 tsi Exp $ */
#ifndef Lisp_io_h
#define Lisp_io_h
-#include "private.h"
+#include "lisp/private.h"
#define FILE_READ 0x01
#define FILE_WRITE 0x02
@@ -55,13 +55,13 @@ struct _LispFile {
int length; /* number of bytes used */
int offset; /* read/write offset */
int unget : 8; /* unread char */
- int readable : 1;
- int writable : 1;
- int regular : 1; /* regular file */
- int buffered : 1;
- int available : 1; /* unget field holds a char */
- int nonblock : 1; /* in nonblock mode */
- int binary : 1; /* if set, don't calculate column/line-number */
+ unsigned int readable : 1;
+ unsigned int writable : 1;
+ unsigned int regular : 1; /* regular file */
+ unsigned int buffered : 1;
+ unsigned int available : 1; /* unget field holds a char */
+ unsigned int nonblock : 1; /* in nonblock mode */
+ unsigned int binary : 1; /* if set, don't calculate column/line-number */
io_write_fn io_write;
};
@@ -73,8 +73,8 @@ struct _LispString {
int length; /* number of bytes used */
int input; /* input offset, for read operations */
int output; /* output offset, for write operations */
- int fixed : 1; /* if set, don't try to reallocate string */
- int binary : 1; /* if set, don't calculate column/line-number */
+ unsigned int fixed : 1; /* if set, don't try to reallocate string */
+ unsigned int binary : 1; /* if set, don't calculate column/line-number */
};
/*