refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / hyperlayers / thinlayerinfo.c
blobcb673137dce7a96e7f5282f892a64cd71c7d4b01
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 <graphics/layers.h>
10 #include "basicfuncs.h"
12 #define DEBUG 0
13 #include <aros/debug.h>
14 #undef kprintf
16 /*****************************************************************************
18 NAME */
19 #include <proto/layers.h>
21 AROS_LH1(void, ThinLayerInfo,
23 /* SYNOPSIS */
24 AROS_LHA(struct Layer_Info *, li, A0),
26 /* LOCATION */
27 struct LayersBase *, LayersBase, 27, 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("ThinLayerInfo(li @ $%lx)\n", li));
55 _FreeExtLayerInfo(li, LayersBase);
57 li->Flags &= ~NEWLAYERINFO_CALLED;
59 AROS_LIBFUNC_EXIT
60 } /* ThinLayerInfo */