Detab
[AROS.git] / rom / exec / newminlist.c
blobe2588e3b2db912cbc17d2b4ac471d2cf91455dff
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Initialize a list
6 Lang: english
7 */
9 #include <exec/lists.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/exec.h>
16 AROS_LH1I(void, NewMinList,
18 /* SYNOPSIS */
19 AROS_LHA(struct MinList *, list, A0),
21 /* LOCATION */
22 struct ExecBase *, SysBase, 138, Exec)
24 /* FUNCTION
25 Initialize a list. After that, you can use functions like
26 AddHead(), AddTail() and Insert() on the list.
28 INPUTS
29 list - the list to be initialized
31 RESULT
32 None.
34 NOTES
36 EXAMPLE
37 See below.
39 BUGS
41 SEE ALSO
42 NEWLIST() macro, libamiga/NewList()
44 INTERNALS
46 HISTORY
48 ******************************************************************************/
50 AROS_LIBFUNC_INIT
53 * The stupidest thing ever to waste an LVO with...
54 * But some m68k applications (PFS3) already use it if exec.library version >= 45.
55 * I wonder what's the win...
57 NEWLIST(list);
59 AROS_LIBFUNC_EXIT