revert between 56095 -> 55830 in arch
[AROS.git] / rom / usb / classes / arosx / arosx_test.c
blobd076776413a30886a9879426d27fb04109c9f6c0
1 /*
2 Copyright © 2019, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/debug.h>
8 #include <proto/exec.h>
9 #include <proto/dos.h>
10 #include <proto/arosx.h>
12 struct Library *AROSXBase;
14 int main (int argc, char *argv[]) {
16 AROSXBase = OpenLibrary("arosx.library", 0);
18 if (AROSXBase) {
19 Printf("arosx.library opened, version %ld.%ld\n", AROSXBase->lib_Version, AROSXBase->lib_Revision);
21 CloseLibrary(AROSXBase);
22 } else {
23 PutStr("arosx.library failed to open.\n");
26 return 0;