grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / hyperlayers / disposelayerinfo.c
blobc6ed45a14043abf26e9851363501abebcb32b569
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>
9 #include <proto/exec.h>
11 #define DEBUG 0
12 #include <aros/debug.h>
13 #undef kprintf
15 /*****************************************************************************
17 NAME */
18 #include <proto/layers.h>
19 #include "layers_intern.h"
20 #include "basicfuncs.h"
22 AROS_LH1(void, DisposeLayerInfo,
24 /* SYNOPSIS */
25 AROS_LHA(struct Layer_Info *, li, A0),
27 /* LOCATION */
28 struct LayersBase *, LayersBase, 25, Layers)
30 /* FUNCTION
32 INPUTS
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
44 INTERNALS
46 HISTORY
47 27-11-96 digulla automatically created from
48 layers_lib.fd and clib/layers_protos.h
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 D(bug("DisposeLayerInfo(li @ $%lx)\n", li));
56 _FreeExtLayerInfo(li, LayersBase);
58 FreeMem(li, sizeof(struct Layer_Info));
60 AROS_LIBFUNC_EXIT
61 } /* DisposeLayerInfo */