File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ static ConfigValues configValues;
131131
132132
133133
134- static void *stopHp() {
134+ static void *stopHp(void * ) {
135135 if(running_info[0]!=NULL){
136136 gtk_label_set_label(label_status,"Stopping ...");
137137 start_pb_pulse();
@@ -710,7 +710,7 @@ void clear_running_info(){
710710 running_info[0]=NULL;
711711}
712712
713- void* init_running_info(){
713+ void* init_running_info(void * ){
714714
715715 clear_running_info();
716716 lock_all_views(TRUE);
@@ -772,18 +772,18 @@ static void *run_create_hp_shell(void *cmd) {
772772 gtk_label_set_label(label_status,buf);
773773
774774 if (strstr(buf, AP_ENABLED) != NULL) {
775- init_running_info();
775+ init_running_info(NULL );
776776 return 0;
777777 }
778778 }
779779
780780 if (pclose(fp)) {
781781 printf("Command not found or exited with error status\n");
782- init_running_info();
782+ init_running_info(NULL );
783783 return NULL;
784784 }
785785
786- init_running_info();
786+ init_running_info(NULL );
787787 return 0;
788788}
789789
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ static void* run_create_hp_shell(void *cmd);
4848
4949void init_interface_list();
5050
51- void* init_running_info();
51+ void* init_running_info(void * );
5252
5353static gboolean update_progress_in_timeout (gpointer pbar);
5454
@@ -60,7 +60,7 @@ static guint start_pb_pulse();
6060
6161static void on_create_hp_clicked(GtkWidget *widget,gpointer data);
6262
63- static void *stopHp();
63+ static void *stopHp(void * );
6464
6565static int init_config_val_input(ConfigValues* cv);
6666
You can’t perform that action at this time.
0 commit comments