mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
define __nonnull
This commit is contained in:
@@ -291,6 +291,13 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
|
|||||||
*/
|
*/
|
||||||
#define __const __attribute__ (( const ))
|
#define __const __attribute__ (( const ))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Declare a function's pointer parameters as non-null - i.e. force
|
||||||
|
* compiler to check pointers at compile time and enable possible
|
||||||
|
* optimizations based on that fact
|
||||||
|
*/
|
||||||
|
#define __nonnull __attribute__ (( nonnull ))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Declare a function as used.
|
* Declare a function as used.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user