Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* This program is linked against SOM shared libraries, which the loader |
2 | automatically loads along with the program itself). | |
3 | */ | |
4 | ||
5 | #include <stdio.h> | |
6 | ||
7 | extern int solib_main (int); | |
8 | ||
9 | main () | |
10 | { | |
11 | int result; | |
12 | ||
13 | /* Call a shlib function. */ | |
14 | result = solib_main (100); | |
15 | ||
16 | /* Call it again. */ | |
17 | result = solib_main (result); | |
18 | } |