grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hyperlayers / fattenlayerinfo.c
blob7a03e66cb19e304a189c0aaca4bb0ea79e60201b
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <aros/libcall.h>
10 #define DEBUG 0
11 #include <aros/debug.h>
12 #undef kprintf
14 /*****************************************************************************
16 NAME */
17 #include <proto/layers.h>
18 #include "layers_intern.h"
19 #include "basicfuncs.h"
21 AROS_LH1(LONG, FattenLayerInfo,
23 /* SYNOPSIS */
24 AROS_LHA(struct Layer_Info *, li, A0),
26 /* LOCATION */
27 struct LayersBase *, LayersBase, 26, Layers)
29 /* FUNCTION
31 INPUTS
33 RESULT
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 HISTORY
46 27-11-96 digulla automatically created from
47 layers_lib.fd and clib/layers_protos.h
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 D(bug("FattenLayerInfo(li @ $%lx)\n", li));
55 if(!_AllocExtLayerInfo(li, LayersBase))
56 return FALSE;
58 li->Flags |= NEWLAYERINFO_CALLED;
60 return TRUE;
62 AROS_LIBFUNC_EXIT
63 } /* FattenLayerInfo */