From: sangorrin Date: Mon, 2 Feb 2009 12:01:31 +0000 (+0000) Subject: some functions need to be installed even if the node is not in the network X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fna.git/commitdiff_plain/64aaba4b9b2f9cade03b901aecd0581c8297273c some functions need to be installed even if the node is not in the network git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1519 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/src_rtep/rtep_fna_c.c b/src_rtep/rtep_fna_c.c index 7c70302..4cf83e1 100644 --- a/src_rtep/rtep_fna_c.c +++ b/src_rtep/rtep_fna_c.c @@ -67,7 +67,6 @@ #include "rtep.h" // for rtep_adainit, rtep_valid_multicast_id, .. #include "rtep_bandwith_reservation.h" // for rtep_bwres_* #include "rtep_fna.h" // function prototypes - #include "fadt_freelist.h" #if 0 @@ -1051,6 +1050,7 @@ int rtep_fna_network_get_min_eff_budget // GLOBAL variable to install the network protocol in FRESCOR fna_operations_t rtep_fna_operations = { +#ifdef RTEP_FNA_ENABLED .fna_init = rtep_fna_init, .fna_contract_negotiate = rtep_fna_contract_negotiate, .fna_contract_renegotiate_sync = rtep_fna_contract_renegotiate_sync, @@ -1071,6 +1071,7 @@ fna_operations_t rtep_fna_operations = { .fna_send_endpoint_get_status = rtep_fna_send_endpoint_get_status, .fna_receive_endpoint_created = rtep_fna_receive_endpoint_created, .fna_receive_endpoint_get_status = rtep_fna_receive_endpoint_get_status, +#endif .fna_network_get_max_message_size = rtep_fna_network_get_max_message_size, .fna_network_bytes_to_budget = rtep_fna_network_bytes_to_budget, .fna_network_budget_to_bytes = rtep_fna_network_budget_to_bytes,