fix a typo - clear all the alerts, and not the 2nd twice
[AROS.git] / rom / expansion / freeconfigdev.c
blob25ddfe53a06264a1ea4fcf472f5cf84ec42ba68f
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: FreeConfigDev() - Free a ConfigDev structure.
6 Lang: english
7 */
8 #include "expansion_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/expansion.h>
16 AROS_LH1(void, FreeConfigDev,
18 /* SYNOPSIS */
19 AROS_LHA(struct ConfigDev *, configDev, A0),
21 /* LOCATION */
22 struct ExpansionBase *, ExpansionBase, 14, Expansion)
24 /* FUNCTION
25 This function will free a ConfigDev structure, as allocated
26 by the AllocConfigDev() function.
28 INPUTS
29 configDev - The ConfigDev to free.
31 RESULT
32 The memory will be returned to the system.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 AllocConfigDev()
43 INTERNALS
45 HISTORY
46 27-11-96 digulla automatically created from
47 expansion_lib.fd and clib/expansion_protos.h
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 if(configDev)
54 FreeMem(configDev, sizeof(struct ConfigDev));
56 AROS_LIBFUNC_EXIT
57 } /* FreeConfigDev */