Fix GCC error.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 13 Sep 2006 18:25:22 +0000 (18:25 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 13 Sep 2006 18:25:22 +0000 (18:25 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@684 38d2e660-2303-0410-9eaa-f027e97ec537

drv/timer_qt.c

index 9b7a289c64f73fc638a07cb62e8554480baa7abf..cb24195720691e431ac568d357dce3f5777b0f45 100755 (executable)
@@ -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();
 }