2 Copyright © 2010, The AROS Development Team. All rights reserved.
5 Desc: FreeUnit() function.
9 #include <proto/disk.h>
10 #include <resources/disk.h>
12 AROS_LH1(void, FreeUnit
,
13 AROS_LHA(LONG
, unitNum
, D0
),
14 struct DiscResource
*, DiskBase
, 2, Disk
)
18 DiskBase
->dr_Flags
&= ~(1 << unitNum
);