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

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;
}