Signed-off-by: Daniel Lezcano <daniel.lezc...@free.fr>
---
 display.c    |    5 +++++
 powerdebug.c |    6 ------
 powerdebug.h |    1 -
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/display.c b/display.c
index d3ec421..43db4a4 100644
--- a/display.c
+++ b/display.c
@@ -30,6 +30,11 @@ static WINDOW *footer_win;
 int maxx, maxy;
 char footer_items[NUM_FOOTER_ITEMS][64];
 
+static char *win_names[TOTAL_FEATURE_WINS] = {
+       "Clocks",
+       "Regulators",
+       "Sensors"
+};
 
 void fini_curses(void) {
        endwin();
diff --git a/powerdebug.c b/powerdebug.c
index f5d95d3..ecbbd9d 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -21,12 +21,6 @@ bool dump = false;
 int highlighted_row;
 int selectedwindow = -1;
 
-char *win_names[TOTAL_FEATURE_WINS] = {
-       "Clocks",
-       "Regulators",
-       "Sensors"
-};
-
 void usage(void)
 {
        printf("Usage: powerdebug [OPTIONS]\n");
diff --git a/powerdebug.h b/powerdebug.h
index 402145b..e87932e 100644
--- a/powerdebug.h
+++ b/powerdebug.h
@@ -30,7 +30,6 @@ enum {CLOCK_SELECTED = 1, REFRESH_WINDOW};
 
 extern struct regulator_info *regulators_info;
 
-extern char *win_names[TOTAL_FEATURE_WINS];
 extern int selectedwindow;
 
 extern int numregulators;
-- 
1.7.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to