diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-18 21:11:00 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-18 21:11:00 +0000 |
commit | 2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714 (patch) | |
tree | 1c93c241db79a2646e701a932a592a2f1b8b5fa4 /amiga/object.c | |
parent | d6052d3955ffa1aca81c3363b7c53aec51cb6208 (diff) | |
download | netsurf-2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714.tar.gz netsurf-2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714.tar.bz2 |
More OS3 fixes
Diffstat (limited to 'amiga/object.c')
-rwxr-xr-x | amiga/object.c | 5 |
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); |