diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-03-08 21:36:47 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-03-08 21:36:47 +0000 |
commit | 294d05803456fdbcb58283b994bbc7047c358aac (patch) | |
tree | b99222fe260bd10668ef1ba58799444ce9382128 /firmware/common/timefuncs.c | |
parent | cc6cc53737ffc32ed6a7c6b1e06c9358dcf6b12a (diff) | |
download | rockbox-294d05803456fdbcb58283b994bbc7047c358aac.tar.gz rockbox-294d05803456fdbcb58283b994bbc7047c358aac.zip |
Return -1 for not implemented RTC functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29546 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/timefuncs.c')
-rw-r--r-- | firmware/common/timefuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/timefuncs.c b/firmware/common/timefuncs.c index 42babbd8e3..7d385949b5 100644 --- a/firmware/common/timefuncs.c +++ b/firmware/common/timefuncs.c | |||
@@ -99,7 +99,7 @@ int set_time(const struct tm *tm) | |||
99 | } | 99 | } |
100 | #else /* No RTC */ | 100 | #else /* No RTC */ |
101 | (void)tm; | 101 | (void)tm; |
102 | return 0; | 102 | return -1; |
103 | #endif /* RTC */ | 103 | #endif /* RTC */ |
104 | } | 104 | } |
105 | 105 | ||