[rtems commit] nds/libnds - Fix missing prototype warning and formatting

Joel Sherrill joel at rtems.org
Thu May 10 12:59:25 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu May 10 07:25:29 2012 -0500

nds/libnds - Fix missing prototype warning and formatting

---

 .../lib/libbsp/arm/nds/libnds/source/arm7/clock.c  |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c
index 081fa26..19e24d3 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c
+++ b/c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c
@@ -15,13 +15,13 @@
 	redistribute it freely, subject to the following restrictions:
 
 	1.	The origin of this software must not be misrepresented; you
-			must not claim that you wrote the original software. If you use
-			this software in a product, an acknowledgment in the product
-			documentation would be appreciated but is not required.
+		must not claim that you wrote the original software. If you use
+		this software in a product, an acknowledgment in the product
+		documentation would be appreciated but is not required.
 	2.	Altered source versions must be plainly marked as such, and
-			must not be misrepresented as being the original software.
+		must not be misrepresented as being the original software.
 	3.	This notice may not be removed or altered from any source
-			distribution.
+		distribution.
 
 ---------------------------------------------------------------------------------*/
 
@@ -32,7 +32,10 @@
 
 #include <time.h>
 
-
+/*
+ * forward declaration to avoid warning
+ */
+void syncRTC(void);
 
 // Delay (in swiDelay units) for each bit transfer
 #define RTC_DELAY 48




More information about the vc mailing list