define __nonnull

pull/1/head
Holger Lubitz 2007-08-02 01:01:01 +02:00
parent e8b8991b84
commit 3859abb7de
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.
*