grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / nonvolatile / freenvdata.c
blob0e32059bd41fe4c10d6d0f2e2190ee3fdf618531
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
8 #include LC_LIBDEFS_FILE
10 /*****************************************************************************
12 NAME */
13 #include <libraries/nonvolatile.h>
15 AROS_LH1(VOID, FreeNVData,
17 /* SYNOPSIS */
19 AROS_LHA(APTR, data, A0),
21 /* LOCATION */
23 struct Library *, nvBase, 6, Nonvolatile)
25 /* FUNCTION
27 Free data allocated by nonvolatile.library (GetCopyNV(), GetNVInfo(),
28 GetNVList()).
30 INPUTS
32 data -- data got from a nonvolatile.library function; may be NULL in
33 which case this function does nothing
35 RESULT
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 GetCopyNV(), GetNVInfo(), GetNVList()
47 INTERNALS
49 ******************************************************************************/
52 AROS_LIBFUNC_INIT
54 FreeVec(data);
56 AROS_LIBFUNC_EXIT
57 } /* FreeNVData */