From e25d6f4f9fafeb2508be1de0250dcf5be824f8fd Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 12 Dec 2013 15:47:47 +0100 Subject: [PATCH] fix win build (missing xbt_public) --- src/include/surf/surf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 0620175df7..2d12f29149 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -228,7 +228,7 @@ surf_action_t surf_workstation_model_communicate(surf_workstation_model_t model, xbt_dynar_t surf_workstation_model_get_route(surf_workstation_model_t model, surf_resource_t src, surf_resource_t dst); void surf_vm_workstation_model_create(const char *name, surf_resource_t ind_phys_host); surf_action_t surf_network_model_communicate(surf_network_model_t model, sg_routing_edge_t src, sg_routing_edge_t dst, double size, double rate); -const char *surf_resource_name(surf_cpp_resource_t resource); +XBT_PUBLIC(const char * ) surf_resource_name(surf_cpp_resource_t resource); xbt_dict_t surf_resource_get_properties(surf_cpp_resource_t resource); e_surf_resource_state_t surf_resource_get_state(surf_cpp_resource_t resource); void surf_resource_set_state(surf_cpp_resource_t resource, e_surf_resource_state_t state); -- 2.20.1