Browse Source

use malloc attribute

tags/v0.9.3
Holger Lubitz 17 years ago
parent
commit
05708503e5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/gpxe/iobuf.h

+ 1
- 1
src/include/gpxe/iobuf.h View File

161
 	return ( iobuf->end - iobuf->tail );
161
 	return ( iobuf->end - iobuf->tail );
162
 }
162
 }
163
 
163
 
164
-extern struct io_buffer * alloc_iob ( size_t len );
164
+extern struct io_buffer * __malloc alloc_iob ( size_t len );
165
 extern void free_iob ( struct io_buffer *iobuf );
165
 extern void free_iob ( struct io_buffer *iobuf );
166
 extern void iob_pad ( struct io_buffer *iobuf, size_t min_len );
166
 extern void iob_pad ( struct io_buffer *iobuf, size_t min_len );
167
 extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len );
167
 extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len );

Loading…
Cancel
Save