diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-23 18:08:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-23 18:08:08 +0100 |
commit | 622b78d0d832282505f685f2f442c34ea0e8a7b1 (patch) | |
tree | 6c8da6dc24185f6abeac5388572b48fd1db79e04 /app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch | |
parent | 57dda344760f34c8c8f93c3c161ab10e55dc3860 (diff) |
gentoo auto-resync : 23:04:2023 - 18:08:08
Diffstat (limited to 'app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch')
-rw-r--r-- | app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch b/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch new file mode 100644 index 000000000000..12b516223a01 --- /dev/null +++ b/app-admin/cpulimit/files/cpulimit-2.8-inline-func.patch @@ -0,0 +1,11 @@ +--- a/cpulimit.c 2023-02-06 19:07:19.450894524 +0300 ++++ b/cpulimit.c 2023-02-06 19:07:28.834337797 +0300 +@@ -125,7 +125,7 @@ + + + //return ta-tb in microseconds (no overflow checks!) +-inline long timediff(const struct timespec *ta,const struct timespec *tb) { ++static long timediff(const struct timespec *ta,const struct timespec *tb) { + unsigned long us = (ta->tv_sec-tb->tv_sec)*1000000 + (ta->tv_nsec/1000 - tb->tv_nsec/1000); + return us; + } |