Enable VFP unit as early as possible. This has to be so since e.g. gcc9 uses vfp...
[AROS.git] / rom / partition / deletepartition.c
blob3b8e6bc36aa2c948f846e57037fc0839dc0af710
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH1(void, DeletePartition,
16 /* SYNOPSIS */
17 AROS_LHA(struct PartitionHandle *, ph, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 12, Partition)
22 /* FUNCTION
23 Delete a partition along with its subpartitions.
25 INPUTS
26 ph - PartitionHandle to delete
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 *****************************************************************************/
42 AROS_LIBFUNC_INIT
44 if (ph->root)
46 struct PTFunctionTable *handler = ph->root->table->handler;
48 if (handler->deletePartition)
49 handler->deletePartition(PartitionBase, ph);
51 AROS_LIBFUNC_EXIT