Message ID | 1455723295-21935-1-git-send-email-ivan.khoronzhuk@linaro.org |
---|---|
State | Accepted |
Commit | 307ad1208bc59e03425468eebe8cffdf09ccb669 |
Headers | show |
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> On 17/02/16 15:34, Ivan Khoronzhuk wrote: > Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> > --- > 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 t2 Second time > * @param t1 First 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); > >
Merged, Maxim. On 02/17/16 18:53, Zoltan Kiss wrote: > Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> > > On 17/02/16 15:34, Ivan Khoronzhuk wrote: >> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> >> --- >> 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 t2 Second time >> * @param t1 First 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
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 t2 Second time * @param t1 First 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);
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> --- include/odp/api/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)