diff --git a/linux_glibc_wraps/platform/linux/linux_glibc_wraps_32.c b/linux_glibc_wraps/platform/linux/linux_glibc_wraps_32.c index a50f265..2a0890f 100644 --- a/linux_glibc_wraps/platform/linux/linux_glibc_wraps_32.c +++ b/linux_glibc_wraps/platform/linux/linux_glibc_wraps_32.c @@ -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); diff --git a/linux_glibc_wraps/platform/linux/linux_glibc_wraps_64.c b/linux_glibc_wraps/platform/linux/linux_glibc_wraps_64.c index b04f513..2d1ca15 100644 --- a/linux_glibc_wraps/platform/linux/linux_glibc_wraps_64.c +++ b/linux_glibc_wraps/platform/linux/linux_glibc_wraps_64.c @@ -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; }