A space between the type name and variable name appears to make this macro more
[AROS.git] / rom / expansion / expansion_init.c
blob052087f52e6bf65950f1a93a9930a9f8b72bbcc7
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Expansion Resident and initialization.
6 Lang: english
7 */
9 #include <exec/types.h>
10 #include <exec/lists.h>
11 #include <exec/alerts.h>
12 #include <exec/libraries.h>
13 #include <exec/resident.h>
14 #include <exec/execbase.h>
15 #include <aros/symbolsets.h>
16 #include <proto/exec.h>
17 #include <proto/expansion.h>
19 #include "expansion_intern.h"
20 #include LC_LIBDEFS_FILE
23 static int ExpansionInit(LIBBASETYPEPTR LIBBASE)
25 bug("expansion init\n");
27 NEWLIST(&LIBBASE->eb_MountList);
28 NEWLIST(&LIBBASE->eb_BoardList);
30 memset(&LIBBASE->eb_BindSemaphore, 0, sizeof(LIBBASE->eb_BindSemaphore));
31 InitSemaphore(&LIBBASE->eb_BindSemaphore);
33 /* See what expansion hardware we can detect. */
34 #if (AROS_FLAVOUR & AROS_FLAVOUR_BINCOMPAT)
35 ConfigChain(E_EXPANSIONBASE);
36 #endif
38 return TRUE;
41 ADD2INITLIB(ExpansionInit, 0);