]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
use malloc attribute
authorHolger Lubitz <hal@duncan.ol.sub.de>
Mon, 20 Aug 2007 18:29:23 +0000 (20:29 +0200)
committerHolger Lubitz <hal@duncan.ol.sub.de>
Mon, 20 Aug 2007 18:29:23 +0000 (20:29 +0200)
src/include/gpxe/iobuf.h

index c0dfd434d85dfc5467941a97d9ea1f9880e276e5..e3db01ac22aa83c4852a0059f03f19b6c113ffa0 100644 (file)
@@ -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 );