diff options
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/menu.c | 2 | ||||
-rwxr-xr-x | amiga/schedule.c | 5 | ||||
-rw-r--r-- | amiga/tree.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index 9cb857e9d..13b9c9c24 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -484,7 +484,7 @@ struct NewMenu *ami_create_menu(struct gui_window_2 *gwin) if(nsoption_int(menu_refresh) > 0) { ami_schedule(nsoption_int(menu_refresh) * 10, - ami_menu_refresh, + (void *)ami_menu_refresh, gwin); } diff --git a/amiga/schedule.c b/amiga/schedule.c index 4ec9df7e9..9aa74881f 100755 --- a/amiga/schedule.c +++ b/amiga/schedule.c @@ -17,7 +17,6 @@ */ #include "amiga/os3support.h" -#include "amiga/schedule.h" #include <proto/exec.h> #include <proto/timer.h> @@ -26,6 +25,10 @@ #include <stdbool.h> #include <pbl.h> +#include "utils/errors.h" + +#include "amiga/schedule.h" + struct nscallback { struct TimeVal tv; diff --git a/amiga/tree.c b/amiga/tree.c index fa1252831..df6ac9bb3 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -1396,5 +1396,5 @@ void ami_tree_redraw_request(int x, int y, int width, int height, void *data) if(nsoption_bool(direct_render) == false) ami_schedule(0, ami_tree_redraw_req, atrr_data); else - am_schedule(0, ami_tree_redraw_req_dr, atrr_data); + ami_schedule(0, ami_tree_redraw_req_dr, atrr_data); } |