1 #include <stdio.h> 2 3 int func_attr_used_disabled(int val); 4 int func_attr_used_enabled(int val); 5 extern int var_attr_used_enabled; 6 extern int var_attr_used_disabled; 7 main(int argc,const char ** argv)8int main(int argc, const char **argv){ 9 printf("%d\n", var_attr_used_disabled); 10 printf("%d\n", var_attr_used_enabled); 11 printf("%d\n", func_attr_used_disabled(1)); 12 printf("%d\n", func_attr_used_enabled(1)); 13 return 0; 14 } 15