Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/8fb6f4d148fce8c41c541...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/8fb6f4d148fce8c41c5417d...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/8fb6f4d148fce8c41c5417d1e...
The branch, master has been updated
via 8fb6f4d148fce8c41c5417d1ede8fc38d99a7396 (commit)
from b36c1401a09b0e7c489558bfc95c6223dea56291 (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=8fb6f4d148fce8c41c5...
commit 8fb6f4d148fce8c41c5417d1ede8fc38d99a7396
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Fix GetSucc (credit: Buzz)
diff --git a/amiga/os3support.c b/amiga/os3support.c
index 3411793..f297636 100644
--- a/amiga/os3support.c
+++ b/amiga/os3support.c
@@ -192,6 +192,13 @@ struct Node *GetHead(struct List *list)
return res;
}
+struct Node *GetSucc(struct Node *node)
+{
+ if (node->ln_Succ->ln_Succ == NULL) return NULL;
+ return node->ln_Succ;
+}
+
+
/* Intuition */
uint32 GetAttrs(Object *obj, Tag tag1, ...)
{
diff --git a/amiga/os3support.h b/amiga/os3support.h
index 319d3b3..4752e91 100644
--- a/amiga/os3support.h
+++ b/amiga/os3support.h
@@ -144,7 +144,6 @@
#define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY) /* AllocVecTagList with no tags */
#define FindIName FindName
#define GetPred(N) N ? (N)->ln_Pred : NULL
-#define GetSucc(N) N ? (N)->ln_Succ : NULL
/* Gfx */
#define SetRPAttrs(...) (void)0 /*\todo Probably need to emulate this */
@@ -240,6 +239,7 @@ void FreeSysObject(ULONG type, APTR obj);
/* Exec */
struct Node *GetHead(struct List *list);
+struct Node *GetSucc(struct Node *node);
/* Intuition */
uint32 GetAttrs(Object *obj, Tag tag1, ...);
-----------------------------------------------------------------------
Summary of changes:
amiga/os3support.c | 7 +++++++
amiga/os3support.h | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/amiga/os3support.c b/amiga/os3support.c
index 3411793..f297636 100644
--- a/amiga/os3support.c
+++ b/amiga/os3support.c
@@ -192,6 +192,13 @@ struct Node *GetHead(struct List *list)
return res;
}
+struct Node *GetSucc(struct Node *node)
+{
+ if (node->ln_Succ->ln_Succ == NULL) return NULL;
+ return node->ln_Succ;
+}
+
+
/* Intuition */
uint32 GetAttrs(Object *obj, Tag tag1, ...)
{
diff --git a/amiga/os3support.h b/amiga/os3support.h
index 319d3b3..4752e91 100644
--- a/amiga/os3support.h
+++ b/amiga/os3support.h
@@ -144,7 +144,6 @@
#define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY) /* AllocVecTagList with no tags */
#define FindIName FindName
#define GetPred(N) N ? (N)->ln_Pred : NULL
-#define GetSucc(N) N ? (N)->ln_Succ : NULL
/* Gfx */
#define SetRPAttrs(...) (void)0 /*\todo Probably need to emulate this */
@@ -240,6 +239,7 @@ void FreeSysObject(ULONG type, APTR obj);
/* Exec */
struct Node *GetHead(struct List *list);
+struct Node *GetSucc(struct Node *node);
/* Intuition */
uint32 GetAttrs(Object *obj, Tag tag1, ...);
--
NetSurf Browser