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,7 +161,7 @@ static inline size_t iob_tailroom ( struct io_buffer *iobuf ) {
161 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 165
 extern void free_iob ( struct io_buffer *iobuf );
166 166
 extern void iob_pad ( struct io_buffer *iobuf, size_t min_len );
167 167
 extern int iob_ensure_headroom ( struct io_buffer *iobuf, size_t len );

Loading…
Cancel
Save