various forgotten files
This commit is contained in:
parent
dcc9531c5a
commit
e5c26b01f7
9 changed files with 219 additions and 7 deletions
11
src/lib9/getcallerpc-power.c
Normal file
11
src/lib9/getcallerpc-power.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <lib9.h>
|
||||
|
||||
ulong
|
||||
getcallerpc(void *x)
|
||||
{
|
||||
ulong *lp;
|
||||
|
||||
lp = x;
|
||||
|
||||
return lp[-1];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue