diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 12:33:13 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 12:33:13 -0400 |
commit | 54235051d6a0e46afa8314824fcec3828f90d6f3 (patch) | |
tree | 1a6c8a4d215a47c79d0f36f0f90df9b3feef88dc | |
parent | 08a7ae9ef2b3943e5b3bba5aca1d3bcfbbec9535 (diff) |
fixed various warnings
-rw-r--r-- | menus.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -4,7 +4,9 @@ #include "error_utils.h" #include "string_utils.h" #include "device-functions.h" +#include "dummy_functions.h" #include "version.h" +#include "flash.h" #include <glib.h> @@ -203,6 +205,7 @@ static void Nonstd_menu_model_info(void); static void Menu_Check_Buttons(void); static int Submenu_Implement_Changes(void); static void Nonstd_menu_network(void); +static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val); void Menu_Refresh() @@ -2841,11 +2844,7 @@ void Menu_Clear_Buttons(void) } -/*** BeginHeader Read_Keypad */ -int Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val); -/*** EndHeader */ -/*----------------------------------------------------------------------------------------------------------*/ -int Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val) +static void Read_Keypad(int *button_port_val, int *upper_encoder_val, int *lower_encoder_val) { #define Overload_Input 64 /* mask for main overload input */ #define Over_Temp 0x10 /* over-temperature */ @@ -3031,7 +3030,6 @@ static int Submenu_Implement_Changes(void) { int error_num; int call_new_submenu; - int check_valid; int channel,eprom_loc; call_new_submenu=NO; |