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

index 863227867ddd978b14b59a58328828cef768e44d..8f5651b113060fff9388a8e65c529c85f56635c7 100644 (file)
@@ -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 );