diff options
author | Michael Brown | 2006-08-07 19:06:31 +0200 |
---|---|---|
committer | Michael Brown | 2006-08-07 19:06:31 +0200 |
commit | ecdcdea1afb967a8d727a7a970cac5f2b7ae189a (patch) | |
tree | 8e069ebcc20cf07465b0a2f7516da3311ba5dba3 /src/include/gpxe/tables.h | |
parent | Add iSCSI to the DHCP tests. (diff) | |
download | ipxe-ecdcdea1afb967a8d727a7a970cac5f2b7ae189a.tar.gz ipxe-ecdcdea1afb967a8d727a7a970cac5f2b7ae189a.tar.xz ipxe-ecdcdea1afb967a8d727a7a970cac5f2b7ae189a.zip |
Remove unused attribute from __table macros; the tables are no longer
static since otherwise gcc4 optimises them away completely. Also, it
really *is* an error if the table start and end are unused, so they
certainly shouldn't be marked with attribute unused.
Diffstat (limited to 'src/include/gpxe/tables.h')
-rw-r--r-- | src/include/gpxe/tables.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gpxe/tables.h b/src/include/gpxe/tables.h index 1fdbbfd7..385bb525 100644 --- a/src/include/gpxe/tables.h +++ b/src/include/gpxe/tables.h @@ -192,7 +192,7 @@ * */ #define __table(table,idx) \ - __attribute__ (( unused, __table_section(table,idx) )) + __attribute__ (( __table_section(table,idx) )) /** * Linker table start marker. @@ -208,7 +208,7 @@ * */ #define __table_start(table) \ - __attribute__ (( unused, __table_section_start(table) )) + __attribute__ (( __table_section_start(table) )) /** * Linker table end marker. @@ -224,6 +224,6 @@ * */ #define __table_end(table) \ - __attribute__ (( unused, __table_section_end(table) )) + __attribute__ (( __table_section_end(table) )) #endif /* _GPXE_TABLES_H */ |