Use __unused instead of __used for static data structures.

Remove compiler.h defines from osdep.h
This commit is contained in:
Michael Brown
2005-05-17 12:16:28 +00:00
parent 301b2d40f0
commit 3bbf5f28a3
7 changed files with 24 additions and 18 deletions

View File

@@ -49,8 +49,11 @@
#define __table_section_start(table) __table_section(table,00)
#define __table_section_end(table) __table_section(table,99)
#define __table(table,idx) __attribute__ (( __table_section(table,idx) ))
#define __table_start(table) __attribute__ (( __table_section_start(table) ))
#define __table_end(table) __attribute__ (( __table_section_end(table) ))
#define __table(table,idx) \
__attribute__ (( unused, __table_section(table,idx) ))
#define __table_start(table) \
__attribute__ (( unused, __table_section_start(table) ))
#define __table_end(table) \
__attribute__ (( unused, __table_section_end(table) ))
#endif /* TABLES_H */