mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
use malloc attribute
This commit is contained in:
@@ -161,7 +161,7 @@ static inline size_t iob_tailroom ( struct io_buffer *iobuf ) {
|
|||||||
return ( iobuf->end - iobuf->tail );
|
return ( iobuf->end - iobuf->tail );
|
||||||
}
|
}
|
||||||
|
|
||||||
extern struct io_buffer * alloc_iob ( size_t len );
|
extern struct io_buffer * __malloc alloc_iob ( size_t len );
|
||||||
extern void free_iob ( struct io_buffer *iobuf );
|
extern void free_iob ( struct io_buffer *iobuf );
|
||||||
extern void iob_pad ( struct io_buffer *iobuf, size_t min_len );
|
extern void iob_pad ( struct io_buffer *iobuf, size_t min_len );
|
||||||
extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len );
|
extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len );
|
||||||
|
|||||||
Reference in New Issue
Block a user