1 #include "protected-data-1.h"
3 int protected_data_1a
__attribute__ ((visibility("protected"))) = 1;
4 int protected_data_1b
__attribute__ ((visibility("protected"))) = 2;
7 protected_data_1a_p (void)
9 return &protected_data_1a
;
13 protected_data_1b_p (void)
15 return &protected_data_1b
;
19 set_protected_data_1a (int i
)
21 protected_data_1a
= i
;
25 set_protected_data_1b (int i
)
27 protected_data_1b
= i
;
31 check_protected_data_1a (int i
)
33 return protected_data_1a
== i
? 0 : 1;
37 check_protected_data_1b (int i
)
39 return protected_data_1b
== i
? 0 : 1;