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 | |
parent | cc6cc53737ffc32ed6a7c6b1e06c9358dcf6b12a (diff) |
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')
-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) } #else /* No RTC */ (void)tm; - return 0; + return -1; #endif /* RTC */ } |