diff --git a/contrib/gana b/contrib/gana index fbd2bf1c8..15a8cae39 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit fbd2bf1c8a39ff334b2ae52d7be44416490848bd +Subproject commit 15a8cae393bf35f95ae15836c4ec4b2b22e42604 diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 468d13569..e82fb2941 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -60,7 +60,7 @@ TALER_JSON_from_amount_nbo (const struct TALER_AmountNBO *amount) * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_amount (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -139,7 +139,7 @@ TALER_JSON_spec_amount_any (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_amount_nbo (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -223,7 +223,7 @@ TALER_JSON_spec_amount_any_nbo (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_abs_time (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -304,7 +304,7 @@ TALER_JSON_spec_absolute_time (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_abs_time_nbo (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -355,7 +355,7 @@ TALER_JSON_spec_absolute_time_nbo (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_rel_time (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -732,7 +732,7 @@ struct I18nContext * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_i18n_string (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec)