From 4523829abf90a945253c668956c3e23f0d4e4bf5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 May 2012 07:25:29 -0500 Subject: nds/libnds - Fix missing prototype warning and formatting --- c/src/lib/libbsp/arm/nds/libnds/source/arm7/clock.c | 15 +++++++++------ 1 file 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 081fa26606..19e24d3393 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 - +/* + * forward declaration to avoid warning + */ +void syncRTC(void); // Delay (in swiDelay units) for each bit transfer #define RTC_DELAY 48 -- cgit v1.2.3