mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 21:20:12 +00:00
add function declaration
This commit is contained in:
parent
3e98d7abd4
commit
5fd51ab86c
@ -94,8 +94,10 @@ static void on_create_hp_clicked(GtkWidget *widget, gpointer data) {
|
||||
init_config_val_input(&cv);
|
||||
|
||||
|
||||
if(validator(&cv)==FALSE)
|
||||
if(validator(&cv)==FALSE){
|
||||
set_error_text("Check inputs");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
startShell(build_wh_mkconfig_command(&cv));
|
||||
|
@ -40,4 +40,6 @@ static int init_config_val_input(ConfigValues* cv);
|
||||
|
||||
static gboolean validator(ConfigValues *cv);
|
||||
|
||||
static void set_error_text(char * text);
|
||||
|
||||
#endif //WIHOTSPOT_UI_H
|
||||
|
Loading…
Reference in New Issue
Block a user