summaryrefslogtreecommitdiff
path: root/amiga/arexx.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/arexx.c')
-rw-r--r--amiga/arexx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/arexx.c b/amiga/arexx.c
index 35cdfb028..b138d4969 100644
--- a/amiga/arexx.c
+++ b/amiga/arexx.c
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
+#include <stdlib.h>
#include <string.h>
#include <math.h>
@@ -238,7 +238,7 @@ STATIC VOID rx_open(struct ARexxCmd *cmd, struct RexxMsg *rxm __attribute__((unu
{
if(!gw) return;
- dln = AllocVecTags(sizeof(struct dlnode), AVT_ClearWithValue, 0, TAG_DONE);
+ dln = ami_misc_allocvec_clear(sizeof(struct dlnode), 0);
dln->filename = strdup((char *)cmd->ac_ArgList[3]);
dln->node.ln_Name = strdup((char *)cmd->ac_ArgList[0]);
dln->node.ln_Type = NT_USER;