summaryrefslogtreecommitdiff
path: root/amiga/object.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-18 21:11:00 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-18 21:11:00 +0000
commit2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714 (patch)
tree1c93c241db79a2646e701a932a592a2f1b8b5fa4 /amiga/object.c
parentd6052d3955ffa1aca81c3363b7c53aec51cb6208 (diff)
downloadnetsurf-2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714.tar.gz
netsurf-2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714.tar.bz2
More OS3 fixes
Diffstat (limited to 'amiga/object.c')
-rwxr-xr-xamiga/object.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/amiga/object.c b/amiga/object.c
index 0c848aa5f..99f359ad1 100755
--- a/amiga/object.c
+++ b/amiga/object.c
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "amiga/os3support.h"
+
#include <stdlib.h>
#include <proto/exec.h>
@@ -24,6 +26,7 @@
#include "amiga/filetype.h"
#include "amiga/font.h"
+#include "amiga/misc.h"
#include "amiga/object.h"
struct MinList *NewObjList(void)
@@ -43,7 +46,7 @@ struct nsObject *AddObject(struct MinList *objlist, ULONG otype)
{
struct nsObject *dtzo;
- dtzo = (struct nsObject *)AllocVecTags(sizeof(struct nsObject), AVT_ClearWithValue, 0, TAG_DONE);
+ dtzo = (struct nsObject *)ami_misc_allocvec_clear(sizeof(struct nsObject), 0);
AddTail((struct List *)objlist,(struct Node *)dtzo);