]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/_file.h
change reference to $0200FF to $0200xx
[cc65] / libsrc / common / _file.h
index f1f9af306bc6a709770a48441acba8809782db84..8cd12c15e1184ceaa2c9dd397ca73cc5bc735e38 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * _file.h
- *
- * (C) Copyright 1998, 2002 Ullrich von Bassewitz (uz@cc65.org)
- *
- */
+** _file.h
+**
+** (C) Copyright 1998, 2002 Ullrich von Bassewitz (uz@cc65.org)
+**
+*/
 
 
 
 
 /* Definition of struct _FILE */
 struct _FILE {
-    char       f_fd;
-    char       f_flags;
+    char            f_fd;
+    char            f_flags;
+    unsigned char   f_pushback;
 };
 
 /* File table. Beware: FOPEN_MAX is hardcoded in the ASM files! */
-extern FILE _filetab [FOPEN_MAX];
+extern FILE _filetab[FOPEN_MAX];
 
 /* Flags field */
-#define _FCLOSED       0x00
-#define        _FOPEN          0x01
-#define _FEOF          0x02
-#define _FERROR                0x04
+#define _FCLOSED        0x00
+#define _FOPEN          0x01
+#define _FEOF           0x02
+#define _FERROR         0x04
 #define _FPUSHBACK      0x08