diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-10 07:25:29 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-10 08:01:13 -0500 |
commit | 4523829abf90a945253c668956c3e23f0d4e4bf5 (patch) | |
tree | 5830ad773429ad907752bc07263ec7405ede54f8 | |
parent | hurricane - Remove unused file setvec.c (diff) | |
download | rtems-4523829abf90a945253c668956c3e23f0d4e4bf5.tar.bz2 |
nds/libnds - Fix missing prototype warning and formatting
-rw-r--r-- | c/src/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 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 <time.h> - +/* + * forward declaration to avoid warning + */ +void syncRTC(void); // Delay (in swiDelay units) for each bit transfer #define RTC_DELAY 48 |