Debian Codegraph @

test cases/common/39 library chain/subdir/lib1.c

raw
1 int lib2fun(void);
2 int lib3fun(void);
3
4 #if defined _WIN32 || defined __CYGWIN__
5 #define DLL_PUBLIC __declspec(dllexport)
6 #else
7 #if defined __GNUC__
8 #define DLL_PUBLIC __attribute__ ((visibility("default")))
9 #else
10 #pragma message ("Compiler does not support symbol visibility.")
11 #define DLL_PUBLIC
12 #endif
13 #endif
14
15 int DLL_PUBLIC libfun(void) {
16 return lib2fun() + lib3fun();
17 }