]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/open.s
Fixed gcc compiler warning (#867)
[cc65] / libsrc / apple2 / open.s
index db40c3c743a4f622a944a02903ef8b16eb4dea8f..e4772297347e4ffe8de05937adb6ce8f2cb103cc 100644 (file)
@@ -5,7 +5,7 @@
 ;
 
         .export         _open, closedirect, freebuffer
-        .export         __filetype, __auxtype
+        .export         __filetype, __auxtype, __datetime
         .constructor    raisefilelevel
         .destructor     closeallfiles, 5
 
@@ -19,7 +19,7 @@
         .include        "mli.inc"
         .include        "filedes.inc"
 
-        .segment        "INIT"
+        .segment        "ONCE"
 
 raisefilelevel:
         ; Raise file level
@@ -246,5 +246,6 @@ __filetype:
 __auxtype:
         .word   $0000           ; AUX_TYPE:     Load address N/A
         .byte   $01             ; STORAGE_TYPE: Standard seedling file
+__datetime:
         .word   $0000           ; CREATE_DATE:  Current date
         .word   $0000           ; CREATE_TIME:  Current time