mescc: Mes C Library: Prepare for M2-Planet: clock_gettime.
* lib/linux/clock_gettime.c (clock_gettime): Prepare for M2-Planet.
This commit is contained in:
parent
edb2e5c142
commit
4cef964aba
|
@ -25,5 +25,7 @@
|
||||||
int
|
int
|
||||||
clock_gettime (clockid_t clk_id, struct timespec *tp)
|
clock_gettime (clockid_t clk_id, struct timespec *tp)
|
||||||
{
|
{
|
||||||
return _sys_call2 (SYS_clock_gettime, (long) clk_id, (long) tp);
|
long long_clk_id = clk_id;
|
||||||
|
long long_tp = tp;
|
||||||
|
return _sys_call2 (SYS_clock_gettime, clk_id, tp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue