aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/getcallerpc-386.c
blob: 1367370e93737504e23f9d9460166ea770c27887 (plain)
1
2
3
4
5
6
7
#include <lib9.h>

ulong
getcallerpc(void *x)
{
	return (((ulong*)(x))[-1]);
}