Skip to content

Commit be3275b

Browse files
committed
fix something more that gcc 15 doesn't like
1 parent 19db787 commit be3275b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gui/gretl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ int main (int argc, char **argv)
821821
fprintf(stderr, "finished option processing\n");
822822
#endif
823823

824-
/* set libgretl callbacks */
824+
/* set libgretl callback functions */
825825
set_workdir_callback(gui_set_working_dir);
826826
set_show_activity_func(gui_show_activity);
827827
set_gui_model_list_callback(get_or_send_gui_models);

lib/src/objstack.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,7 @@ int check_variable_deletion_list (int *list, const DATASET *dset)
18131813

18141814
static GList *(*get_or_send_gui_models)(GList *);
18151815

1816-
void set_gui_model_list_callback (GList *(*callback)())
1816+
void set_gui_model_list_callback (GList *(*callback)(GList *))
18171817
{
18181818
get_or_send_gui_models = callback;
18191819
}

lib/src/objstack.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ int check_models_for_subsample (char *newmask, int *ndropped);
194194

195195
int n_stacked_models (void);
196196

197-
void set_gui_model_list_callback (GList *(*callback)());
197+
void set_gui_model_list_callback (GList *(*callback)(GList *));
198198

199199
void gretl_saved_objects_cleanup (void);
200200

0 commit comments

Comments
 (0)