Put pciehci.device in DEVS:USBHardware, like the other host-controller
[AROS.git] / test / library / pertaskvalue_linklib.c
blob846a5200ae90691abdb164e686e1796afe93c76e
1 /*
2 * This function is in the static link lib.
3 * It uses the genmodule provided __GM_GetBase_PertaskBase() function so it can be
4 * used both in a library that uses pertask_rel.a or a program that just uses
5 * pertask.a.
6 * It does not call a function in pertask.library so that a good optimizing
7 * compiler with link time function inlining can optimize this well.
8 */
9 #include <proto/pertask.h>
11 #include "pertaskbase.h"
13 int *__pertask_getvalueptr(void)
15 return &(((struct PertaskBase *)__aros_getbase_PertaskBase())->value);