mirror of https://github.com/ipxe/ipxe.git
define malloc attribute
parent
7e1db201b9
commit
2220e1a676
|
@ -298,6 +298,12 @@ extern void dbg_hex_dump_da ( unsigned long dispaddr,
|
||||||
*/
|
*/
|
||||||
#define __nonnull __attribute__ (( nonnull ))
|
#define __nonnull __attribute__ (( nonnull ))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Declare a pointer returned by a function as a unique memory address
|
||||||
|
* as returned by malloc-type functions.
|
||||||
|
*/
|
||||||
|
#define __malloc __attribute__ (( malloc ))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Declare a function as used.
|
* Declare a function as used.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue