diff options
| author | Holger Lubitz | 2007-08-20 20:29:09 +0200 |
|---|---|---|
| committer | Holger Lubitz | 2007-08-20 20:29:09 +0200 |
| commit | 938626343378dfa74cdf50a0c4a23bdb88605a45 (patch) | |
| tree | d9a1ea72f618c8b10b9a03a2c47185cc54b1e71a /src/include/gpxe/dhcp.h | |
| parent | use malloc attribute (diff) | |
| download | ipxe-938626343378dfa74cdf50a0c4a23bdb88605a45.tar.gz ipxe-938626343378dfa74cdf50a0c4a23bdb88605a45.tar.xz ipxe-938626343378dfa74cdf50a0c4a23bdb88605a45.zip | |
use malloc attribute
Diffstat (limited to 'src/include/gpxe/dhcp.h')
| -rw-r--r-- | src/include/gpxe/dhcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gpxe/dhcp.h b/src/include/gpxe/dhcp.h index 863227867..8f5651b11 100644 --- a/src/include/gpxe/dhcp.h +++ b/src/include/gpxe/dhcp.h @@ -502,7 +502,7 @@ extern void register_dhcp_options ( struct dhcp_option_block *options ); extern void unregister_dhcp_options ( struct dhcp_option_block *options ); extern void init_dhcp_options ( struct dhcp_option_block *options, void *data, size_t max_len ); -extern struct dhcp_option_block * alloc_dhcp_options ( size_t max_len ); +extern struct dhcp_option_block * __malloc alloc_dhcp_options ( size_t max_len ); extern struct dhcp_option * set_dhcp_option ( struct dhcp_option_block *options, unsigned int tag, const void *data, size_t len ); |
