From d9c8cc22fae4678a43a660796a625edaa020a47a Mon Sep 17 00:00:00 2001 From: bernie Date: Wed, 13 Sep 2006 18:25:22 +0000 Subject: [PATCH] Fix GCC error. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@684 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer_qt.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drv/timer_qt.c b/drv/timer_qt.c index 9b7a289c..cb241957 100755 --- a/drv/timer_qt.c +++ b/drv/timer_qt.c @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2006/09/13 18:25:22 bernie + *#* Fix GCC error. + *#* *#* Revision 1.5 2006/07/19 12:56:26 bernie *#* Convert to new Doxygen style. *#* @@ -109,13 +112,13 @@ public slots: /// HW dependent timer initialization. -extern "C" static void timer_hw_init(void) +static void timer_hw_init(void) { // Kick EmulTimer initialization EmulTimer::instance().init(); } -extern "C" INLINE hptime_t timer_hw_hpread(void) +INLINE hptime_t timer_hw_hpread(void) { return EmulTimer::instance().hpread(); } -- 2.25.1