summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2021-08-15 20:20:23 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2021-08-15 20:20:23 +0100
commit6431c62472f27e99a8ff5ed34d6e598c76e60c30 (patch)
tree786d40adea78bd4318b5fd1aa6708c53e2a60619
parent2535d48321b3a40131c5246b3c560bbf95f4bd35 (diff)
downloadnetsurf-6431c62472f27e99a8ff5ed34d6e598c76e60c30.tar.gz
netsurf-6431c62472f27e99a8ff5ed34d6e598c76e60c30.tar.bz2
Revert "Amiga: Fix some undefined references"
This reverts commit 2535d48321b3a40131c5246b3c560bbf95f4bd35.
-rw-r--r--frontends/amiga/libs.c3
-rw-r--r--frontends/amiga/schedule.c5
2 files changed, 2 insertions, 6 deletions
diff --git a/frontends/amiga/libs.c b/frontends/amiga/libs.c
index aae3f3062..fe94eb25c 100644
--- a/frontends/amiga/libs.c
+++ b/frontends/amiga/libs.c
@@ -185,9 +185,6 @@ AMINS_LIB_STRUCT(Keymap);
AMINS_LIB_STRUCT(Layers);
AMINS_LIB_STRUCT(Locale);
AMINS_LIB_STRUCT(P96);
-#ifndef __amigaos4__
-AMINS_LIB_STRUCT(Utility);
-#endif
AMINS_LIB_STRUCT(Workbench);
AMINS_LIB_STRUCT(Codesets);
diff --git a/frontends/amiga/schedule.c b/frontends/amiga/schedule.c
index 533e7f697..18eb1af61 100644
--- a/frontends/amiga/schedule.c
+++ b/frontends/amiga/schedule.c
@@ -42,11 +42,10 @@ struct nscallback
};
static struct nscallback *tioreq;
-#ifdef __amigaos4__
struct Device *TimerBase;
+#ifdef __amigaos4__
struct TimerIFace *ITimer;
#else
-struct Library *TimerBase;
static struct MsgPort *schedule_msgport = NULL;
#endif
@@ -82,7 +81,7 @@ static void ami_schedule_remove_timer_event(struct nscallback *nscb)
static nserror ami_schedule_add_timer_event(struct nscallback *nscb, int t)
{
struct TimeVal tv;
- ULONG time_us = t * 1000; /* t converted to microseconds */
+ ULONG time_us = t * 1000; /* t converted to Ás */
tv.tv_secs = time_us / 1000000;
tv.tv_micro = time_us % 1000000;