]> git.sur5r.net Git - cc65/commitdiff
Renamed setoserror to seterrnofromoserror to avoid clashes.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Apr 2008 06:55:35 +0000 (06:55 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Apr 2008 06:55:35 +0000 (06:55 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3838 b7a2c559-68d2-44c3-8de9-860c34a00d81

asminc/errno.inc
libsrc/common/maperrno.s

index ef81036fca4aeb7f3ed044ff0f8511cebc8c84f1..972beaf9fb202ae11aee7153fbd52306f5580d98 100644 (file)
@@ -8,6 +8,7 @@
         .global         __maperrno, __osmaperrno
         .global         __seterrno
         .global         oserrcheck, setoserror
+        .global         seterrnofromoserror
 
 ; Error codes, must match the values in the C headers
 .enum
index 0133b46068f415d731270b22b02a8e0e633c384b..cf8872e1187055d0f5f5ff6f81c1957632527eda 100644 (file)
 __maperrno:
        lda     __oserror               ; Get the error code
                beq     L9                      ; Jump if no error
-setoserror:
+seterrnofromoserror:     
        ldx     #$00                    ; Clear error
        stx     __oserror
        jsr     __osmaperrno            ; Map the code
                sta     __errno
        stx     __errno+1
-L9:    rts       
+L9:    rts