Fix whitespace and indentation errors.
This commit is contained in:
parent
4490667520
commit
b087501d66
2 changed files with 19 additions and 19 deletions
|
|
@ -19,7 +19,7 @@ int __clock_gettime_glibc_old(clockid_t clk_id, struct timespec *tp);
|
|||
__asm__(".symver __clock_gettime_glibc_old,clock_gettime@GLIBC_" GETTIME_GLIBC_VERSION);
|
||||
|
||||
int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) {
|
||||
return __clock_gettime_glibc_old(clk_id, tp);
|
||||
return __clock_gettime_glibc_old(clk_id, tp);
|
||||
}
|
||||
|
||||
uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t *rem_p);
|
||||
|
|
|
|||
|
|
@ -22,31 +22,31 @@ __asm__(".symver __clock_gettime_glibc_old,clock_gettime@GLIBC_" GETTIME_GLIBC_V
|
|||
|
||||
|
||||
int __wrap_clock_gettime(clockid_t clk_id, struct timespec *tp) {
|
||||
return __clock_gettime_glibc_old(clk_id, tp);
|
||||
return __clock_gettime_glibc_old(clk_id, tp);
|
||||
}
|
||||
|
||||
UTItype __udivmodti4(UTItype num, UTItype den, UTItype *rem_p);
|
||||
|
||||
TItype __wrap___divmodti4(TItype num, TItype den, TItype *rem_p) {
|
||||
int minus = 0;
|
||||
TItype v;
|
||||
int minus = 0;
|
||||
TItype v;
|
||||
|
||||
if (num < 0) {
|
||||
num = -num;
|
||||
minus = 1;
|
||||
}
|
||||
if (den < 0) {
|
||||
den = -den;
|
||||
minus ^= 1;
|
||||
}
|
||||
if (num < 0) {
|
||||
num = -num;
|
||||
minus = 1;
|
||||
}
|
||||
if (den < 0) {
|
||||
den = -den;
|
||||
minus ^= 1;
|
||||
}
|
||||
|
||||
v = __udivmodti4(num, den, (UTItype *)rem_p);
|
||||
if (minus) {
|
||||
v = -v;
|
||||
if (rem_p)
|
||||
*rem_p = -(*rem_p);
|
||||
}
|
||||
v = __udivmodti4(num, den, (UTItype *)rem_p);
|
||||
if (minus) {
|
||||
v = -v;
|
||||
if (rem_p)
|
||||
*rem_p = -(*rem_p);
|
||||
}
|
||||
|
||||
return v;
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue