blob: f1cba3a9093c6684895c79517691b74f1557cf88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Public Domain 2003 Dale Rahn
*
* $OpenBSD: main.c,v 1.1.1.1 2005/09/22 22:31:27 drahn Exp $
*/
#include <stdio.h>
#include <dlfcn.h>
void ad(void);
extern int libglobal;
void (*ad_f)(void) = &ad;
int *a = &libglobal;
int
main()
{
ad_f();
return 1;
}
|