corrections to scren bar rendering offsets
[AROS.git] / rom / disk / getunitid.c
blob01079540e266ed5599f3254f13ceca802801cbad
1 /*
2 Copyright © 2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: GetUnitID() function.
6 Lang: english
7 */
9 #include <proto/disk.h>
10 #include <resources/disk.h>
12 AROS_LH1(ULONG, GetUnitID,
13 AROS_LHA(LONG, unitNum, D0),
14 struct DiscResource *, DiskBase, 5, Disk)
16 AROS_LIBFUNC_INIT
18 return DiskBase->dr_UnitID[unitNum];
20 AROS_LIBFUNC_EXIT