]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/file/getfhdrinfo.s
errno/oserrno stuff is cleaned up, saved some bytes in dialog box functions
[cc65] / libsrc / geos / file / getfhdrinfo.s
index 815a70767deefd90c397a846a1585738dd465ec8..aef9ebd0963f119e15387fc58ddac47d9f1b66c3 100644 (file)
@@ -6,6 +6,7 @@
 
 ; char GetFHdrInfo  (struct filehandle *myFile);
 
+           .import __oserror
            .export _GetFHdrInfo
 
            .include "../inc/jumptab.inc"
@@ -15,6 +16,6 @@ _GetFHdrInfo:
        sta r9L
        stx r9H
        jsr GetFHdrInfo
-       stx errno
+       stx __oserror
        txa
        rts