Browse Source

use malloc attribute

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

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

@@ -502,7 +502,7 @@ extern void register_dhcp_options ( struct dhcp_option_block *options );
502 502
 extern void unregister_dhcp_options ( struct dhcp_option_block *options );
503 503
 extern void init_dhcp_options ( struct dhcp_option_block *options,
504 504
 				void *data, size_t max_len );
505
-extern struct dhcp_option_block * alloc_dhcp_options ( size_t max_len );
505
+extern struct dhcp_option_block * __malloc alloc_dhcp_options ( size_t max_len );
506 506
 extern struct dhcp_option *
507 507
 set_dhcp_option ( struct dhcp_option_block *options, unsigned int tag,
508 508
 		  const void *data, size_t len );

Loading…
Cancel
Save