fix warning #1295-D Deprecated declaration
This commit is contained in:
parent
5dd87bc7bb
commit
c84d7c5324
|
@ -71,7 +71,7 @@ rt_err_t set_timestamp(time_t timestamp);
|
|||
rt_err_t get_timestamp(time_t *timestamp);
|
||||
|
||||
#ifdef RT_USING_SYSTEM_WORKQUEUE
|
||||
rt_err_t rt_soft_rtc_sync();
|
||||
rt_err_t rt_soft_rtc_sync(void);
|
||||
rt_err_t rt_soft_rtc_set_source(const char *name);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ INIT_DEVICE_EXPORT(rt_soft_rtc_init);
|
|||
|
||||
#ifdef RT_USING_SYSTEM_WORKQUEUE
|
||||
|
||||
rt_err_t rt_soft_rtc_sync()
|
||||
rt_err_t rt_soft_rtc_sync(void)
|
||||
{
|
||||
time_t time = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue