diff options
| author | [email protected] <[email protected]> | 2012-11-12 11:47:53 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-12 11:47:53 +0000 |
| commit | 715c1e609c0a30161cee81b70878461a6f594511 (patch) | |
| tree | e98994a7b449d897a7862dffa116c05597218d23 /components/drivers/rtc | |
| parent | e6942f9a09431ae3a071a1a9f0e983d1b7f8fcb2 (diff) | |
Eliminate a warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2402 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/rtc')
| -rw-r--r-- | components/drivers/rtc/alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c index 0eb0b5f494..85f073f514 100644 --- a/components/drivers/rtc/alarm.c +++ b/components/drivers/rtc/alarm.c @@ -74,7 +74,7 @@ static rt_err_t alarm_set(struct rt_alarm *alarm) return (ret);
}
-static alarm_wakeup(struct rt_alarm *alarm, struct tm *now)
+static void alarm_wakeup(struct rt_alarm *alarm, struct tm *now)
{
rt_uint32_t sec_alarm, sec_now;
rt_bool_t wakeup = RT_FALSE;
|
