libchip/rtc: Fixed 19 compiler warnings

This commit is contained in:
Andreas Heinig
2013-02-28 18:08:50 +01:00
committed by Gedare Bloom
parent f806289f31
commit aa314cf883
3 changed files with 7 additions and 3 deletions

View File

@@ -14,6 +14,8 @@
*/
#include <rtems.h>
#include <libchip/rtc.h>
#include <libchip/icm7170.h>
#ifndef _ICM7170_MULTIPLIER
#define _ICM7170_MULTIPLIER 1

View File

@@ -14,6 +14,8 @@
*/
#include <rtems.h>
#include <libchip/rtc.h>
#include <libchip/m48t08.h>
#ifndef _M48T08_MULTIPLIER
#define _M48T08_MULTIPLIER 1

View File

@@ -52,7 +52,7 @@ bool mc146818a_probe(
/*
* Initialize chip
*/
void mc146818a_initialize(
static void mc146818a_initialize(
int minor
)
{
@@ -69,7 +69,7 @@ void mc146818a_initialize(
/*
* Read time from chip
*/
int mc146818a_get_time(
static int mc146818a_get_time(
int minor,
rtems_time_of_day *time
)
@@ -129,7 +129,7 @@ int mc146818a_get_time(
/*
* Set time into chip
*/
int mc146818a_set_time(
static int mc146818a_set_time(
int minor,
const rtems_time_of_day *time
)