diff options
| author | Holger Lubitz | 2007-08-20 20:29:23 +0200 |
|---|---|---|
| committer | Holger Lubitz | 2007-08-20 20:29:23 +0200 |
| commit | 05708503e54af40a304210466ad3f733f5a13c48 (patch) | |
| tree | d6e68224ac8a1258135c686c37dbba13230164f3 /src/include | |
| parent | use malloc attribute (diff) | |
| download | ipxe-05708503e54af40a304210466ad3f733f5a13c48.tar.gz ipxe-05708503e54af40a304210466ad3f733f5a13c48.tar.xz ipxe-05708503e54af40a304210466ad3f733f5a13c48.zip | |
use malloc attribute
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/iobuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gpxe/iobuf.h b/src/include/gpxe/iobuf.h index c0dfd434d..e3db01ac2 100644 --- a/src/include/gpxe/iobuf.h +++ b/src/include/gpxe/iobuf.h @@ -161,7 +161,7 @@ static inline size_t iob_tailroom ( struct io_buffer *iobuf ) { 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 iob_pad ( struct io_buffer *iobuf, size_t min_len ); extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len ); |
