Explorar el Código

use malloc attribute

tags/v0.9.3
Holger Lubitz hace 17 años
padre
commit
9386263433
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/include/gpxe/dhcp.h

+ 1
- 1
src/include/gpxe/dhcp.h Ver fichero

@@ -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…
Cancelar
Guardar