]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-intertwined.dtest/D.c
dyld-851.27.tar.gz
[apple/dyld.git] / testing / test-cases / dlopen-intertwined.dtest / D.c
1 #include <string.h>
2 #include <stdio.h>
3
4 extern void setState(const char* from);
5 extern void c(const char* from);
6
7 void d(const char* from) {
8 char buffer[100];
9 sprintf(buffer, "d() from %s", from);
10 setState(buffer);
11 }
12
13 void __attribute__((constructor))
14 initD()
15 {
16 c("initD");
17 }
18
19
20