summaryrefslogtreecommitdiff
path: root/firmware/common/timefuncs.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-01-27 14:24:40 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-01-27 14:24:40 +0000
commitcc11e885d1ab32f11b322071260376de3788c62e (patch)
tree3b790f616946cc6d4ff6b4fa424cedb2fc813467 /firmware/common/timefuncs.h
parent8ed1a3a409fadf5c5f45dce7fc4c697d9d290626 (diff)
downloadrockbox-cc11e885d1ab32f11b322071260376de3788c62e.tar.gz
rockbox-cc11e885d1ab32f11b322071260376de3788c62e.zip
Corrected get_time(). This should fix the bad file date bug. Also changed status.c to use get_time() instead of reading directly from RTC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3170 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/timefuncs.h')
-rw-r--r--firmware/common/timefuncs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/timefuncs.h b/firmware/common/timefuncs.h
index 1110ad9a44..3845b946c5 100644
--- a/firmware/common/timefuncs.h
+++ b/firmware/common/timefuncs.h
@@ -31,7 +31,7 @@ struct tm
31 int tm_hour; /* hours */ 31 int tm_hour; /* hours */
32 int tm_mday; /* day of the month */ 32 int tm_mday; /* day of the month */
33 int tm_mon; /* month */ 33 int tm_mon; /* month */
34 int tm_year; /* year */ 34 int tm_year; /* year since 1900 */
35 int tm_wday; /* day of the week */ 35 int tm_wday; /* day of the week */
36 int tm_yday; /* day in the year */ 36 int tm_yday; /* day in the year */
37 int tm_isdst; /* daylight saving time */ 37 int tm_isdst; /* daylight saving time */