]> git.sur5r.net Git - cc65/commitdiff
Move FOPEN_MAX from _file.inc into stdio.inc
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 3 May 2003 08:49:35 +0000 (08:49 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 3 May 2003 08:49:35 +0000 (08:49 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2135 b7a2c559-68d2-44c3-8de9-860c34a00d81

asminc/_file.inc
asminc/stdio.inc

index 14a9412a7e336b635ecd7b2f16b8080dbf27e05d..daf33a9876f9ae10341c752f43baf6756ef25539 100644 (file)
@@ -12,15 +12,12 @@ _FILE_f_fd      = $00
 _FILE_f_flags   = $01
 _FILE_size      = $02
 
-; Flags field 
+; Flags field
 _FCLOSED        = $00
 _FOPEN          = $01
 _FEOF           = $02
 _FERROR         = $04
 _FPUSHBACK      = $08
-                     
-; Maximum number of open files (size of table)
-FOPEN_MAX       = 8
 
 ; File table
 .global         __filetab
index fcf119b7ec2fceb5fc35b5200c97701c45e678ef..95bb4a18431613700143334c3579411410ca8a97 100644 (file)
@@ -42,13 +42,15 @@ _IONBF              = 2
 BUFSIZ         = 256
 EOF            = -1
 FILENAME_MAX   = 16
-FOPEN_MAX      = 8
 L_tmpnam       = (FILENAME_MAX + 1)
 SEEK_CUR       = 0
 SEEK_END       = 1
 SEEK_SET       = 2
 TMP_MAX                = 256
 
+; Maximum number of open files (size of the file table)
+FOPEN_MAX       = 8
+
 ;----------------------------------------------------------------------------
 ; External variables