david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

define __nonnull

This commit is contained in:
Holger Lubitz 2007-08-02 01:01:01 +02:00
parent d0d044443d
commit e3d10ac673
1 changed files with 7 additions and 0 deletions

View File

@ -291,6 +291,13 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
*/
#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.
*