1 /* This is part of the shared library ld test. This file becomes part 2 of a shared library. */ 3 4 /* This variable is defined here, and referenced by another file in 5 the shared library. */ 6 int shlibvar2 = 4; 7 8 /* This function is called by another file in the shared library. */ 9 10 int shlib_shlibcalled()11shlib_shlibcalled () 12 { 13 return 5; 14 } 15 16 #ifndef XCOFF_TEST 17 int shlib_overriddencall2()18shlib_overriddencall2 () 19 { 20 return 7; 21 } 22 #endif 23