Renamed oserrcheck to __mappederrno. Added an additional function named

__directerrno and moved both to errno.s. Changed several sources to use these
functions. Needs testing.
                         


git-svn-id: svn://svn.cc65.org/cc65/trunk@4718 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-06-10 18:10:53 +00:00
parent 5741b6e7d3
commit 131a5cad09
13 changed files with 124 additions and 108 deletions

View File

@@ -7,7 +7,7 @@
.export _remove
.import __sysremove
.import oserrcheck
.import __mappederrno
;--------------------------------------------------------------------------
@@ -15,7 +15,7 @@
.proc _remove
jsr __sysremove ; Call the machine specific function
jmp oserrcheck ; Store into _oserror, set errno, return 0/-1
jmp __mappederrno ; Store into _oserror, set errno, return 0/-1
.endproc