[lng-odp] [API-NEXT PATCH] api: time: fix typo for cmp function
Signed-off-by: Ivan Khoronzhuk --- include/odp/api/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/odp/api/time.h b/include/odp/api/time.h index efc5478..85692ec 100644 --- a/include/odp/api/time.h +++ b/include/odp/api/time.h @@ -119,7 +119,9 @@ odp_time_t odp_time_global_from_ns(uint64_t ns); * @param t2Second time * @param t1First time * - * @retval <0 if t2 < t1, >0 if t1 = t2, 1 if t2 > t1 + * @retval <0 when t2 < t1 + * @retval 0 when t2 == t1 + * @retval >0 when t2 > t1 */ int odp_time_cmp(odp_time_t t2, odp_time_t t1); -- 1.9.1 ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
Re: [lng-odp] [API-NEXT PATCH] api: time: fix typo for cmp function
Signed-off-by: Zoltan Kiss On 17/02/16 15:34, Ivan Khoronzhuk wrote: Signed-off-by: Ivan Khoronzhuk --- include/odp/api/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/odp/api/time.h b/include/odp/api/time.h index efc5478..85692ec 100644 --- a/include/odp/api/time.h +++ b/include/odp/api/time.h @@ -119,7 +119,9 @@ odp_time_t odp_time_global_from_ns(uint64_t ns); * @param t2Second time * @param t1First time * - * @retval <0 if t2 < t1, >0 if t1 = t2, 1 if t2 > t1 + * @retval <0 when t2 < t1 + * @retval 0 when t2 == t1 + * @retval >0 when t2 > t1 */ int odp_time_cmp(odp_time_t t2, odp_time_t t1); ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp
Re: [lng-odp] [API-NEXT PATCH] api: time: fix typo for cmp function
Merged, Maxim. On 02/17/16 18:53, Zoltan Kiss wrote: Signed-off-by: Zoltan Kiss On 17/02/16 15:34, Ivan Khoronzhuk wrote: Signed-off-by: Ivan Khoronzhuk --- include/odp/api/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/odp/api/time.h b/include/odp/api/time.h index efc5478..85692ec 100644 --- a/include/odp/api/time.h +++ b/include/odp/api/time.h @@ -119,7 +119,9 @@ odp_time_t odp_time_global_from_ns(uint64_t ns); * @param t2Second time * @param t1First time * - * @retval <0 if t2 < t1, >0 if t1 = t2, 1 if t2 > t1 + * @retval <0 when t2 < t1 + * @retval 0 when t2 == t1 + * @retval >0 when t2 > t1 */ int odp_time_cmp(odp_time_t t2, odp_time_t t1); ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp