summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/OpenBSD/cpu.c
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:35 +0900
committerMichele Calgaro <[email protected]>2020-01-30 23:52:43 +0900
commit2afc8bbbe4f529c5847cfbe1757e55c47e4656fe (patch)
tree76a398670f2197f0682ccad3beff2875555af078 /ksysguard/ksysguardd/OpenBSD/cpu.c
parent25a1c781481d9f53476251d1d2059643cf3ac67a (diff)
downloadtdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.tar.gz
tdebase-2afc8bbbe4f529c5847cfbe1757e55c47e4656fe.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8250c8e42310cb39ceb6ae425bc8546208733e99)
Diffstat (limited to 'ksysguard/ksysguardd/OpenBSD/cpu.c')
-rw-r--r--ksysguard/ksysguardd/OpenBSD/cpu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksysguard/ksysguardd/OpenBSD/cpu.c b/ksysguard/ksysguardd/OpenBSD/cpu.c
index 2ecf1ed51..3aa097769 100644
--- a/ksysguard/ksysguardd/OpenBSD/cpu.c
+++ b/ksysguard/ksysguardd/OpenBSD/cpu.c
@@ -159,15 +159,15 @@ long percentages(cnt, out, new, old, diffs)
int cnt;
int *out;
-register long *new;
-register long *old;
+long *new;
+long *old;
long *diffs;
{
- register int i;
- register long change;
- register long total_change;
- register long *dp;
+ int i;
+ long change;
+ long total_change;
+ long *dp;
long half_total;
/* initialization */