Fix shadowed parameters.

They were already fixed in the C files, but not yet in the
header files.
Patch is against the latest SVN version.

Signed-off-by: Erik Mouw <[EMAIL PROTECTED]>

diff --git a/powertop.h b/powertop.h
index 1860297..8a54f13 100644
--- a/powertop.h
+++ b/powertop.h
@@ -40,7 +40,7 @@ extern int             linehead;
 extern int             linesize;
 extern int             linectotal;
 
-void suggest_process_death(char *process_match, char *process_name, struct 
line *lines, int linecount, double minwakeups, char *comment, int weight);
+void suggest_process_death(char *process_match, char *process_name, struct 
line *slines, int linecount, double minwakeups, char *comment, int weight);
 void suggest_kernel_config(char *string, int onoff, char *comment, int weight);
 void suggest_laptop_mode(void);
 void suggest_bluetooth_off(void);
@@ -83,7 +83,7 @@ extern int maxwidth;
 void show_title_bar(void);
 void setup_windows(void);
 void initialize_curses(void);
-void show_acpi_power_line(double rate, double cap, double capdelta, time_t 
time);
+void show_acpi_power_line(double rate, double cap, double capdelta, time_t ti);
 void show_cstates(void);
 void show_wakeups(double d);
 void show_timerstats(int nostats, int ticktime);

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to