@@ -317,7 +317,7 @@ static int clock_print_info(void)
return ret;
}
-int clock_toggle_expanded(void)
+static int clock_toggle_expanded(void)
{
struct tree *t = display_get_row_data(CLOCK);
struct clock_info *clk = t->private;
@@ -332,7 +332,7 @@ int clock_toggle_expanded(void)
* found in the files. Then print the result to the text based interface
* Return 0 on success, < 0 otherwise
*/
-int clock_display(void)
+static int clock_display(void)
{
if (read_clock_info())
return -1;
@@ -14,5 +14,4 @@
*******************************************************************************/
extern int clock_init(void);
-extern int clock_display(void);
extern int clock_dump(char *clk);
@@ -156,7 +156,7 @@ static int regulator_print_header(void)
}
-int regulator_display(void)
+static int regulator_display(void)
{
int ret, line = 0;
@@ -13,6 +13,5 @@
* - initial API and implementation
*******************************************************************************/
-extern int regulator_display(void);
extern int regulator_init(void);
extern int regulator_dump(void);
@@ -250,7 +250,7 @@ static int sensor_print_header(void)
return ret;
}
-int sensor_display(void)
+static int sensor_display(void)
{
int ret, line = 0;
@@ -14,5 +14,4 @@
*******************************************************************************/
extern int sensor_dump(void);
-extern int sensor_display(void);
extern int sensor_init(void);
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- clocks.c | 4 ++-- clocks.h | 1 - regulator.c | 2 +- regulator.h | 1 - sensor.c | 2 +- sensor.h | 1 - 6 files changed, 4 insertions(+), 7 deletions(-)