summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/rtc.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-03-08 21:36:47 +0000
committerThomas Martitz <kugel@rockbox.org>2011-03-08 21:36:47 +0000
commit294d05803456fdbcb58283b994bbc7047c358aac (patch)
treeb99222fe260bd10668ef1ba58799444ce9382128 /firmware/target/hosted/rtc.c
parentcc6cc53737ffc32ed6a7c6b1e06c9358dcf6b12a (diff)
downloadrockbox-294d05803456fdbcb58283b994bbc7047c358aac.tar.gz
rockbox-294d05803456fdbcb58283b994bbc7047c358aac.tar.bz2
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/target/hosted/rtc.c')
-rw-r--r--firmware/target/hosted/rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/rtc.c b/firmware/target/hosted/rtc.c
index 179e7ea909..8c430f3774 100644
--- a/firmware/target/hosted/rtc.c
+++ b/firmware/target/hosted/rtc.c
@@ -36,5 +36,5 @@ int rtc_read_datetime(struct tm *tm)
int rtc_write_datetime(const struct tm *tm)
{
(void)tm;
- return 0;
+ return -1;
}