aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-21 00:57:08 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-21 00:57:08 +0200
commit75bd395071358fbbb4e4118c79e35375f811bdac (patch)
treebeb7a961b5d355a444c57fd0cd42a123c8ec0344
parentfa45333391cae255e5d9c9da72ebc0fd81a56ea0 (diff)
downloadpowerdebug-75bd395071358fbbb4e4118c79e35375f811bdac.tar.gz
Cleanup the headers
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--clocks.c4
-rw-r--r--clocks.h1
-rw-r--r--regulator.c2
-rw-r--r--regulator.h1
-rw-r--r--sensor.c2
-rw-r--r--sensor.h1
6 files changed, 4 insertions, 7 deletions
diff --git a/clocks.c b/clocks.c
index 411fcb2..93dd4b3 100644
--- a/clocks.c
+++ b/clocks.c
@@ -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;
diff --git a/clocks.h b/clocks.h
index ab3bd36..aa94b3b 100644
--- a/clocks.h
+++ b/clocks.h
@@ -14,5 +14,4 @@
*******************************************************************************/
extern int clock_init(void);
-extern int clock_display(void);
extern int clock_dump(char *clk);
diff --git a/regulator.c b/regulator.c
index 4151fdb..c8cbe2d 100644
--- a/regulator.c
+++ b/regulator.c
@@ -156,7 +156,7 @@ static int regulator_print_header(void)
}
-int regulator_display(void)
+static int regulator_display(void)
{
int ret, line = 0;
diff --git a/regulator.h b/regulator.h
index 1b59a57..8b3ec06 100644
--- a/regulator.h
+++ b/regulator.h
@@ -13,6 +13,5 @@
* - initial API and implementation
*******************************************************************************/
-extern int regulator_display(void);
extern int regulator_init(void);
extern int regulator_dump(void);
diff --git a/sensor.c b/sensor.c
index 20602c0..399605b 100644
--- a/sensor.c
+++ b/sensor.c
@@ -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;
diff --git a/sensor.h b/sensor.h
index 4be90e6..0a069ce 100644
--- a/sensor.h
+++ b/sensor.h
@@ -14,5 +14,4 @@
*******************************************************************************/
extern int sensor_dump(void);
-extern int sensor_display(void);
extern int sensor_init(void);