Use structs

git-svn-id: svn://svn.cc65.org/cc65/trunk@2707 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-12-03 10:15:33 +00:00
parent 92a001d3af
commit c15fd58d3b
15 changed files with 64 additions and 60 deletions

View File

@@ -5,7 +5,7 @@
;
.export __filetab
.include "stdio.inc"
.include "fcntl.inc"
.include "_file.inc"
@@ -27,12 +27,12 @@ __filetab:
; Standard file descriptors
_stdin:
.word __filetab + (STDIN_FILENO * _FILE_size)
.word __filetab + (STDIN_FILENO * .sizeof(_FILE))
_stdout:
.word __filetab + (STDOUT_FILENO * _FILE_size)
.word __filetab + (STDOUT_FILENO * .sizeof(_FILE))
_stderr:
.word __filetab + (STDERR_FILENO * _FILE_size)
.word __filetab + (STDERR_FILENO * .sizeof(_FILE))