]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlclose-static-terminator.dtest/foo.c
dyld-851.27.tar.gz
[apple/dyld.git] / testing / test-cases / dlclose-static-terminator.dtest / foo.c
1 #include <stddef.h>
2
3
4 typedef void (*NotifyProc)(void);
5
6 NotifyProc gNotifer = NULL;
7
8
9 static __attribute__((destructor))
10 void myTerm()
11 {
12 if ( gNotifer )
13 gNotifer();
14 }
15
16
17