summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:11:18 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commite7f8d7bcc954e965143331ec3f2353c03959acc6 (patch)
tree428fadcc2993b16ccfed1d3b088a0966049a9e6c /linux
parent3bc73aa0881d581eadd75ce30e36ad086c7a21a3 (diff)
Split statements that should go onto multiple lines
Diffstat (limited to 'linux')
-rw-r--r--linux/LinuxProcess.c3
-rw-r--r--linux/Platform.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c
index bd7a7300..fe8492df 100644
--- a/linux/LinuxProcess.c
+++ b/linux/LinuxProcess.c
@@ -217,7 +217,8 @@ static void LinuxProcess_writeField(const Process* this, RichString* str, Proces
totalRate = lp->io_rate_write_bps;
else
totalRate = NAN;
- Process_printRate(str, totalRate, coloring); return;
+ Process_printRate(str, totalRate, coloring);
+ return;
}
#ifdef HAVE_OPENVZ
case CTID: xSnprintf(buffer, n, "%-8s ", lp->ctid ? lp->ctid : ""); break;
diff --git a/linux/Platform.h b/linux/Platform.h
index d44daa08..a1612e29 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -105,7 +105,9 @@ static inline void Platform_gettime_monotonic(uint64_t* msec) {
Generic_gettime_monotonic(msec);
}
-static inline Hashtable* Platform_dynamicMeters(void) { return NULL; }
+static inline Hashtable* Platform_dynamicMeters(void) {
+ return NULL;
+}
static inline void Platform_dynamicMeterInit(ATTR_UNUSED Meter* meter) { }

© 2014-2024 Faster IT GmbH | imprint | privacy policy