[platform/target][warnings] fix -Wmissing-declarations warnings in platform/ and target/

Mostly driver code in various platforms. There are still some warnings
in this part of the tree in lesser-used platforms.
This commit is contained in:
Travis Geiselbrecht
2021-10-21 23:18:09 -07:00
parent 75eaa5c489
commit 445f3e4ee7
34 changed files with 92 additions and 48 deletions

View File

@@ -26,10 +26,8 @@ typedef enum handler_return (*platform_timer_callback)(void *arg, lk_time_t now)
status_t platform_set_periodic_timer(platform_timer_callback callback, void *arg, lk_time_t interval);
/* If the platform implements a full dynamic (can be set to arbitary points in the future) timer */
#if PLATFORM_HAS_DYNAMIC_TIMER
status_t platform_set_oneshot_timer (platform_timer_callback callback, void *arg, lk_time_t interval);
void platform_stop_timer(void);
#endif
__END_CDECLS