Let GRUB text/graphics choice default to same as on boot media.
[AROS.git] / test / library / getparentbase.c
blob6ab0f23d7f1d1e920ab3316f68435f20f22d82e9
1 /*
2 Copyright © 2009-2012, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/pertask.h>
7 #include <aros/libcall.h>
9 #include LC_LIBDEFS_FILE
11 AROS_LH0(struct Library *, GetParentBase,
12 struct PertaskBase *, PertaskBase, 5, Pertask
15 AROS_LIBFUNC_INIT
17 return (struct Library *)__GM_GetBaseParent(PertaskBase);
19 AROS_LIBFUNC_EXIT
22 struct Library *GetParentBase2(void)
24 struct PertaskBase *PertaskBase = (struct PertaskBase *)__aros_getbase_PertaskBase();
26 return (struct Library *)__GM_GetBaseParent(PertaskBase);