mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Call __seterrno instead of assigning to _errno and save a few bytes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4701 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
30920f0709
commit
ef4a2e667d
@ -61,9 +61,7 @@ __sig_ign:
|
||||
|
||||
invalidsig:
|
||||
lda #<EINVAL
|
||||
sta __errno
|
||||
lda #>EINVAL ; A = 0
|
||||
sta __errno+1
|
||||
jsr __seterrno ; Returns 0 in A
|
||||
tax ; A/X = 0
|
||||
__sig_dfl:
|
||||
rts
|
||||
|
Loading…
x
Reference in New Issue
Block a user