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

extern int __pthread_once(void);

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