From: bernie Date: Wed, 13 Sep 2006 18:25:22 +0000 (+0000) Subject: Fix GCC error. X-Git-Tag: 1.0.0~557 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d9c8cc22fae4678a43a660796a625edaa020a47a;p=bertos.git Fix GCC error. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@684 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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(); }