From d42b81186751bc2d7c53e07b9af3f11740064d28 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 6 Jun 2004 16:57:18 +0000 Subject: [PATCH] Mark some functions INLINE instead of 'extern inline'. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@24 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drv/timer.h b/drv/timer.h index 489a4e8d..595ed386 100755 --- a/drv/timer.h +++ b/drv/timer.h @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.3 2004/06/06 16:57:18 bernie + * Mark some functions INLINE instead of 'extern inline'. + * * Revision 1.2 2004/06/03 11:27:09 bernie * Add dual-license information. * @@ -48,8 +51,8 @@ extern void timer_add(Timer *timer); extern Timer *timer_abort(Timer *timer); extern void timer_delay(time_t time); extern void timer_udelay(utime_t utime); -extern inline time_t timer_gettick(void); -extern inline time_t timer_gettick_irq(void); +INLINE time_t timer_gettick(void); +INLINE time_t timer_gettick_irq(void); #ifdef CONFIG_KERN_SIGNALS /*! Set the timer so that it sends a signal when it expires */ @@ -78,7 +81,7 @@ INLINE void timer_set_delay(Timer* timer, time_t delay) * clock variable is larger than the processor word size and can't * be copied atomically. */ -extern inline time_t timer_gettick(void) +INLINE time_t timer_gettick(void) { extern volatile time_t _clock; @@ -97,7 +100,7 @@ extern inline time_t timer_gettick(void) * Like \c timer_gettick, faster version to be called * from interrupt context only. */ -extern inline time_t timer_gettick_irq(void) +INLINE time_t timer_gettick_irq(void) { extern volatile time_t _clock; -- 2.25.1