sh2.c 399 B

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