summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/ksysguardd')
-rw-r--r--ksysguard/ksysguardd/FreeBSD/CPU.c12
-rw-r--r--ksysguard/ksysguardd/Irix/NetDev.c2
-rw-r--r--ksysguard/ksysguardd/Irix/ProcessList.c2
-rw-r--r--ksysguard/ksysguardd/Irix/cpu.c12
-rw-r--r--ksysguard/ksysguardd/OpenBSD/cpu.c12
5 files changed, 20 insertions, 20 deletions
diff --git a/ksysguard/ksysguardd/FreeBSD/CPU.c b/ksysguard/ksysguardd/FreeBSD/CPU.c
index 90d0c4721..0d83cd7f6 100644
--- a/ksysguard/ksysguardd/FreeBSD/CPU.c
+++ b/ksysguard/ksysguardd/FreeBSD/CPU.c
@@ -212,15 +212,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 */
diff --git a/ksysguard/ksysguardd/Irix/NetDev.c b/ksysguard/ksysguardd/Irix/NetDev.c
index 80bc2b310..403fea6cf 100644
--- a/ksysguard/ksysguardd/Irix/NetDev.c
+++ b/ksysguard/ksysguardd/Irix/NetDev.c
@@ -170,7 +170,7 @@ int updateNetDev(void)
struct ifstats *istat;
struct timeval tv;
static LONGLONG timestamp=0;
- register LONGLONG cts,elapsed;
+ LONGLONG cts,elapsed;
//struct ipstat ips;
if ((s=socket(PF_INET,SOCK_DGRAM,0)) < 0){
diff --git a/ksysguard/ksysguardd/Irix/ProcessList.c b/ksysguard/ksysguardd/Irix/ProcessList.c
index 5bc2230b0..cf95b2937 100644
--- a/ksysguard/ksysguardd/Irix/ProcessList.c
+++ b/ksysguard/ksysguardd/Irix/ProcessList.c
@@ -150,7 +150,7 @@ static int updateProcess( pid_t pid ) {
char buf[BUFSIZE];
prpsinfo_t psinfo;
struct passwd *pw;
- register double newCentStamp,timeDiff, usDiff,usTime;
+ double newCentStamp,timeDiff, usDiff,usTime;
struct timeval tv;
if( (ps = findProcessInList( pid )) == NULL ) {
diff --git a/ksysguard/ksysguardd/Irix/cpu.c b/ksysguard/ksysguardd/Irix/cpu.c
index 9fdd25ab7..7c013db37 100644
--- a/ksysguard/ksysguardd/Irix/cpu.c
+++ b/ksysguard/ksysguardd/Irix/cpu.c
@@ -212,15 +212,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 */
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 */