summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
index 3cabbb5a0c..c722ad31ce 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/timer/timer.c
@@ -17,6 +17,7 @@
#include <assert.h>
#include <rtems.h>
#include <libcpu/cpu.h>
+#include <bsp.h>
rtems_unsigned64 Timer_driver_Start_time;
@@ -57,8 +58,6 @@ void Timer_initialize()
* Read_timer
*/
-extern int BSP_Convert_decrementer( unsigned32 );
-
int Read_timer()
{
rtems_unsigned64 total64;