Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/2535d48321b3a40131c5246b3c560bbf95f4bd35
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/2535d48321b3a40131c5246b3c560bbf95f4bd35
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/2535d48321b3a40131c5246b3c560bbf95f4bd35

The branch, chris/ndk32 has been updated
       via  2535d48321b3a40131c5246b3c560bbf95f4bd35 (commit)
      from  a7e976b3fbc1038408b024b46dced0205514e109 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=2535d48321b3a40131c5246b3c560bbf95f4bd35
commit 2535d48321b3a40131c5246b3c560bbf95f4bd35
Author: Chris Young <ch...@unsatisfactorysoftware.co.uk>
Commit: Chris Young <ch...@unsatisfactorysoftware.co.uk>

    Amiga: Fix some undefined references

diff --git a/frontends/amiga/libs.c b/frontends/amiga/libs.c
index fe94eb2..aae3f30 100644
--- a/frontends/amiga/libs.c
+++ b/frontends/amiga/libs.c
@@ -185,6 +185,9 @@ 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 18eb1af..533e7f6 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;


-----------------------------------------------------------------------

Summary of changes:
 frontends/amiga/libs.c     |    3 +++
 frontends/amiga/schedule.c |    5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/frontends/amiga/libs.c b/frontends/amiga/libs.c
index fe94eb2..aae3f30 100644
--- a/frontends/amiga/libs.c
+++ b/frontends/amiga/libs.c
@@ -185,6 +185,9 @@ 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 18eb1af..533e7f6 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;


-- 
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org
To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org

Reply via email to