Added "-p" to make parent directories as needed.
[AROS.git] / arch / m68k-amiga / potgo / allocpotbits.c
blob7c2bf4413a10b33dcf5f1b12ec7a4df4552b4b35
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: AllocPotBits() function.
6 Lang: english
7 */
9 #include <proto/potgo.h>
11 #include "potgo_intern.h"
13 AROS_LH1(UWORD, AllocPotBits,
14 AROS_LHA(UWORD, bits, D0),
15 struct PotgoBase *, PotgoBase, 1, Potgo)
17 AROS_LIBFUNC_INIT
19 bits &= ~PotgoBase->allocated;
20 PotgoBase->allocated |= bits;
21 // TODO! check START special cases
22 return bits;
24 AROS_LIBFUNC_EXIT