adopt previous changes. (NicJA)
[AROS.git] / rom / expansion / remconfigdev.c
blob749c8c4dc5fd91f9e76c9b17edf98a250d72cb22
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Remove a ConfigDev structure from the system.
6 Lang: english
7 */
8 #include "expansion_intern.h"
9 #include <proto/exec.h>
10 /*****************************************************************************
12 NAME */
13 #include <proto/expansion.h>
15 AROS_LH1(void, RemConfigDev,
17 /* SYNOPSIS */
18 AROS_LHA(struct ConfigDev *, configDev, A0),
20 /* LOCATION */
21 struct ExpansionBase *, ExpansionBase, 18, Expansion)
23 /* FUNCTION
24 This routine will remove the given ConfigDev from the list
25 of Configuration Devices in the system.
27 INPUTS
28 configDev - The ConfigDev structure to remove.
30 RESULT
31 The ConfigDev structure will be removed from the systems list.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 AddConfigDev()
42 INTERNALS
44 HISTORY
45 27-11-96 digulla automatically created from
46 expansion_lib.fd and clib/expansion_protos.h
48 *****************************************************************************/
50 AROS_LIBFUNC_INIT
52 if(configDev)
54 ObtainConfigBinding();
55 Remove((struct Node *)configDev);
56 ReleaseConfigBinding();
59 AROS_LIBFUNC_EXIT
60 } /* RemConfigDev */