grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / storage / storage_init.c
blobecfa76bc3122ea2732f6ca4cd72f23f4a0c4de27
1 /*
2 Copyright 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define DEBUG 1
7 #include <aros/debug.h>
9 #include <proto/exec.h>
10 #include <exec/memory.h>
11 #include <aros/symbolsets.h>
12 #include <string.h>
14 #include "storage_intern.h"
16 #include LC_LIBDEFS_FILE
18 static int InitStorageResource( LIBBASETYPEPTR LIBBASE)
20 D(bug("[StorageRes] %s()\n", __PRETTY_FUNCTION__));
22 NEWLIST(&LIBBASE->sb_IDs);
23 NEWLIST(&LIBBASE->sb_Devices);
25 D(bug("[StorageRes] %s: Initialized\n", __PRETTY_FUNCTION__));
27 return TRUE;
30 ADD2INITLIB(InitStorageResource, 0)