From: Holger Lubitz Date: Mon, 20 Aug 2007 18:29:09 +0000 (+0200) Subject: use malloc attribute X-Git-Tag: v0.9.3~101^2^2^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=938626343378dfa74cdf50a0c4a23bdb88605a45;p=thirdparty%2Fipxe.git use malloc attribute --- 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 );