From: Nathan S. Evans Date: Thu, 30 Sep 2010 08:44:32 +0000 (+0000) Subject: redefinition of enum value broke compilation X-Git-Tag: initial-import-from-subversion-38251~20239 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a7d1775a88d37dc55da1ef0a03de0d5ad277ebc7;p=oweals%2Fgnunet.git redefinition of enum value broke compilation --- diff --git a/src/transport/transport_selection.h b/src/transport/transport_selection.h index f07da2682..d3a20f5bb 100644 --- a/src/transport/transport_selection.h +++ b/src/transport/transport_selection.h @@ -37,7 +37,7 @@ * */ - +#define GNUNET_ATS_ARRAY_TERMINATOR 0 /** * Enum defining all known cost types for ATS * Enum values are used in the GNUNET_ATS_Cost_Information struct as (key,value)-pair @@ -50,7 +50,7 @@ enum GNUNET_ATS_Cost_Type * array is 0-terminated: * the last element in the array is the pair (GNUNET_ATS_ARRAY_TERMINATOR, 0) */ - GNUNET_ATS_ARRAY_TERMINATOR= 0, + //GNUNET_ATS_ARRAY_TERMINATOR= 0, /* Volume based cost in financial units to transmit data * Note: this value is not bound to a specific currency or unit and only used locally @@ -199,12 +199,12 @@ struct GNUNET_ATS_Cost_Information enum GNUNET_ATS_Quality_Type { - /* - * Quality will be passed as struct GNUNET_ATS_Quality_Information[] - * array is 0-terminated: - * the last element in the array is the pair (GNUNET_ATS_ARRAY_TERMINATOR, 0) - */ - GNUNET_ATS_ARRAY_TERMINATOR = 0, + /* + * Quality will be passed as struct GNUNET_ATS_Quality_Information[] + * array is 0-terminated: + * the last element in the array is the pair (GNUNET_ATS_ARRAY_TERMINATOR, 0) + */ + //GNUNET_ATS_ARRAY_TERMINATOR = 0, /* Physical layer quality properties */