]> git.sur5r.net Git - cc65/blobdiff - asminc/time.inc
atari5200: fix COLOR defines' names
[cc65] / asminc / time.inc
index dcc4877aa5d4ed78cfe7c130db8a86208940db9e..6064b4ba3606aeb7a6816ad0b7a1c6254f5e6045 100644 (file)
@@ -2,7 +2,7 @@
 ;/*                                                                           */
 ;/*                                 time.inc                                  */
 ;/*                                                                           */
-;/*                              Date and time                               */
+;/*                              Date and time                                */
 ;/*                                                                           */
 ;/*                                                                           */
 ;/*                                                                           */
 
 
 ;------------------------------------------------------------------------------
-; Exported functions
+; Struct timespec - must match the struct defined in time.h
 
-.global         __systime
-.global         _mktime
+.struct timespec
+        tv_sec      .dword
+        tv_nsec     .dword
+.endstruct
 
 
+;------------------------------------------------------------------------------
+; Exported functions
 
+.global         _clock_getres
+.global         _clock_gettime
+.global         _clock_settime
+.global         _localtime
+.global         _mktime