2009-05-19 22:14:17 +00:00
|
|
|
void lib1_default (void);
|
|
|
|
void lib1_hidden (void);
|
|
|
|
void lib1_internal (void);
|
|
|
|
void lib1_protected (void);
|
2009-12-31 01:14:34 +00:00
|
|
|
void lib1_ref (void);
|
|
|
|
extern void lib2_default (void);
|
2009-05-19 22:14:17 +00:00
|
|
|
|
|
|
|
void __attribute__((visibility ("default")))
|
|
|
|
lib1_default (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((visibility ("hidden")))
|
|
|
|
lib1_hidden (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((visibility ("internal")))
|
|
|
|
lib1_internal (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((visibility ("protected")))
|
|
|
|
lib1_protected (void)
|
|
|
|
{
|
|
|
|
}
|
2009-12-31 01:14:34 +00:00
|
|
|
|
|
|
|
void
|
|
|
|
lib1_ref (void)
|
|
|
|
{
|
|
|
|
lib2_default ();
|
|
|
|
}
|