mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 00:17:57 +03:00
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
This commit is contained in:
@@ -18,8 +18,7 @@ struct console_driver {
|
||||
int ( *iskey ) ( void );
|
||||
};
|
||||
|
||||
#define __console_driver \
|
||||
__attribute__ (( used, __table_section ( console, 01 ) ))
|
||||
#define __console_driver __table ( console, 01 )
|
||||
|
||||
/* Function prototypes */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user