summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-03-09 16:14:05 +0000
committerVincent Sanders <vince@kyllikki.org>2014-03-09 16:14:05 +0000
commit5c6a0eda3b42d98f7f7aeab94b96021128c298c4 (patch)
treec08fc3065c9da253505532002867f3ae46de43ca /amiga
parent87f6314dabdc2067a19e01f8b29f9ecc38ed825b (diff)
downloadnetsurf-5c6a0eda3b42d98f7f7aeab94b96021128c298c4.tar.gz
netsurf-5c6a0eda3b42d98f7f7aeab94b96021128c298c4.tar.bz2
fixup missing includes from schedule changes
Diffstat (limited to 'amiga')
-rw-r--r--amiga/menu.c2
-rwxr-xr-xamiga/schedule.c5
-rw-r--r--amiga/tree.c2
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);
}