pass in the display id to the compositor
[AROS.git] / rom / disk / readunitid.c
blob37ead88e331a63ae0c3b5f4bd696a6ec63125551
1 /*
2 Copyright © 2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: ReadUnitID() function.
6 Lang: english
7 */
9 #include <proto/disk.h>
10 #include <resources/disk.h>
12 extern void readunitid_internal (struct DiscResource*, LONG unitNum);
14 AROS_LH1(ULONG, ReadUnitID,
15 AROS_LHA(LONG, unitNum, D0),
16 struct DiscResource *, DiskBase, 6, Disk)
18 AROS_LIBFUNC_INIT
20 readunitid_internal (DiskBase, unitNum);
21 return DiskBase->dr_UnitID[unitNum];
23 AROS_LIBFUNC_EXIT