summaryrefslogtreecommitdiff
path: root/test/dlopen/libtest.c
blob: e37f779816b36a7e820617d1575c9a6cefe24072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <pthread.h>
#include <stdint.h>

extern int __pthread_once(void);

void dltest(uint32_t **value1, uint32_t **value2)
{
	*value1 = (uint32_t *) __pthread_once;
	*value2 = (uint32_t *) pthread_self;
}