Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / commodities / freebrokerlist.c
blob777ccb2443346c08b8de2c701585c98b32d44ad5
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 /*****************************************************************************
11 NAME */
13 #include "cxintern.h"
14 #include "proto/exec.h"
16 AROS_LH1(VOID, FreeBrokerList,
18 /* SYNOPSIS */
20 AROS_LHA(struct List *, brokerList, A0),
22 /* LOCATION */
24 struct Library *, CxBase, 32, Commodities)
26 /* FUNCTION
28 Free the list of brokers obtained by calling GetBrokerList.
30 INPUTS
32 brokerList -- List of commodity brokers (a list of struct BrokerCopy
33 nodes).
35 RESULT
37 NOTES
39 This function is present in AmigaOS too, but undocumented.
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 cxintern.h
49 INTERNALS
51 Private function.
53 HISTORY
55 ******************************************************************************/
58 AROS_LIBFUNC_INIT
60 struct BrokerCopy *brokerCopy;
62 while ((brokerCopy = (struct BrokerCopy *)RemHead(brokerList)) != NULL)
64 FreeVec(brokerCopy);
67 AROS_LIBFUNC_EXIT
68 } /* FreeBrokerList */