summaryrefslogtreecommitdiff
path: root/frontends/amiga/schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/amiga/schedule.c')
-rw-r--r--frontends/amiga/schedule.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/amiga/schedule.c b/frontends/amiga/schedule.c
index 18eb1af61..533e7f697 100644
--- a/frontends/amiga/schedule.c
+++ b/frontends/amiga/schedule.c
@@ -42,10 +42,11 @@ struct nscallback
};
static struct nscallback *tioreq;
-struct Device *TimerBase;
#ifdef __amigaos4__
+struct Device *TimerBase;
struct TimerIFace *ITimer;
#else
+struct Library *TimerBase;
static struct MsgPort *schedule_msgport = NULL;
#endif
@@ -81,7 +82,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 µs */
+ ULONG time_us = t * 1000; /* t converted to microseconds */
tv.tv_secs = time_us / 1000000;
tv.tv_micro = time_us % 1000000;