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