Skip to content

Commit

Permalink
drivers: system_timer: Drop extern attr from functions
Browse files Browse the repository at this point in the history
Drop extern attribute from function signature.

Signed-off-by: Flavio Ceolin <[email protected]>
  • Loading branch information
Flavio Ceolin authored and nashif committed May 21, 2024
1 parent b4a1ac5 commit 7c06739
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/zephyr/drivers/timer/system_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ extern "C" {
* @param idle Hint to the driver that the system is about to enter
* the idle state immediately after setting the timeout
*/
extern void sys_clock_set_timeout(int32_t ticks, bool idle);
void sys_clock_set_timeout(int32_t ticks, bool idle);

/**
* @brief Timer idle exit notification
Expand All @@ -84,7 +84,7 @@ extern void sys_clock_set_timeout(int32_t ticks, bool idle);
* This is allowed for compatibility, but not recommended. The kernel
* will figure that out on its own.
*/
extern void sys_clock_idle_exit(void);
void sys_clock_idle_exit(void);

/**
* @brief Announce time progress to the kernel
Expand All @@ -97,7 +97,7 @@ extern void sys_clock_idle_exit(void);
*
* @param ticks Elapsed time, in ticks
*/
extern void sys_clock_announce(int32_t ticks);
void sys_clock_announce(int32_t ticks);

/**
* @brief Ticks elapsed since last sys_clock_announce() call
Expand All @@ -107,7 +107,7 @@ extern void sys_clock_announce(int32_t ticks);
* this with appropriate locking, the driver needs only provide an
* instantaneous answer.
*/
extern uint32_t sys_clock_elapsed(void);
uint32_t sys_clock_elapsed(void);

/**
* @brief Disable system timer.
Expand All @@ -116,7 +116,7 @@ extern uint32_t sys_clock_elapsed(void);
* The config @kconfig{CONFIG_SYSTEM_TIMER_HAS_DISABLE_SUPPORT} can be used to
* check if the system timer has the capability of being disabled.
*/
extern void sys_clock_disable(void);
void sys_clock_disable(void);

/**
* @brief Hardware cycle counter
Expand Down

0 comments on commit 7c06739

Please sign in to comment.