fix warning #1295-D Deprecated declaration

This commit is contained in:
sulfurandcu 2023-12-19 16:08:51 +08:00 committed by Meco Man
parent 5dd87bc7bb
commit c84d7c5324
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;