david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

define malloc attribute

This commit is contained in:
Holger Lubitz 2007-08-20 20:28:11 +02:00
parent 7e1db201b9
commit 2220e1a676
1 changed files with 6 additions and 0 deletions

View File

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