1 | #include <stdio.h> |
---|---|
2 | |
3 | extern void start_a2( void ) __attribute__((constructor)); |
4 | extern void finish_a2( void ) __attribute__((destructor)); |
5 | |
6 | void |
7 | start_a2( void ) |
8 | { |
9 | printf( format: "start_a2\n"); |
10 | } |
11 | |
12 | void |
13 | finish_a2( void ) |
14 | { |
15 | printf( format: "finish_a2\n"); |
16 | } |
17 |