Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.base / shreloc1.c
blob6a228f8585334d551b9a52d73dcc25b6e757a47a
1 #if defined(_WIN32) || defined(__CYGWIN__)
2 # define ATTRIBUTES __attribute((__dllexport__))
3 #else
4 # define ATTRIBUTES
5 #endif
7 static int static_var_1;
9 ATTRIBUTES void fn_1 (int referenced) { static_var_1 = referenced; }
10 ATTRIBUTES int extern_var_1 = 0;