[rtems commit] mpc8260ads/include/bsp.h: Add prototype to fix warning

Joel Sherrill joel at rtems.org
Thu Oct 16 13:50:02 UTC 2014


Module:    rtems
Branch:    master
Commit:    f8d228d7305c1f135ee151ba5ee36051cf2c5ea5
Changeset: http://git.rtems.org/rtems/commit/?id=f8d228d7305c1f135ee151ba5ee36051cf2c5ea5

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Oct 14 15:23:24 2014 -0500

mpc8260ads/include/bsp.h: Add prototype to fix warning

---

 c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
index 8671b95..781e5d7 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/include/bsp.h
@@ -80,6 +80,11 @@ void *M8260AllocateRiscTimers( int count );
 extern char M8260DefaultWatchdogFeeder;
 #endif
 
+/*
+ * Prototypes for items shared across file boundaries in the BSP
+ */
+extern uint32_t bsp_serial_per_sec;
+
 #ifdef __cplusplus
 }
 #endif



More information about the vc mailing list