summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:15:09 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commit458749df45a24abec1f9a820e4172a08ccfba3b1 (patch)
treede48ef3f0c15e6f748e99868f1f8c4d340a0296c /linux
parente7f8d7bcc954e965143331ec3f2353c03959acc6 (diff)
Code indentation
Diffstat (limited to 'linux')
-rw-r--r--linux/LinuxProcessList.c12
-rw-r--r--linux/Platform.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index 6f86d021..ed189423 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -455,8 +455,8 @@ static void LinuxProcessList_readIoFile(LinuxProcess* process, openat_arg_t proc
}
typedef struct LibraryData_ {
- uint64_t size;
- bool exec;
+ uint64_t size;
+ bool exec;
} LibraryData;
static inline uint64_t fast_strtoull_dec(char **str, int maxlen) {
@@ -975,10 +975,10 @@ static void LinuxProcessList_readDelayAcctData(LinuxProcessList* this, LinuxProc
struct nl_msg* msg;
if (!this->netlink_socket) {
- LinuxProcessList_initNetlinkSocket(this);
- if (!this->netlink_socket) {
- goto delayacct_failure;
- }
+ LinuxProcessList_initNetlinkSocket(this);
+ if (!this->netlink_socket) {
+ goto delayacct_failure;
+ }
}
if (nl_socket_modify_cb(this->netlink_socket, NL_CB_VALID, NL_CB_CUSTOM, handleNetlinkMsg, process) < 0) {
diff --git a/linux/Platform.h b/linux/Platform.h
index a1612e29..794d7921 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -98,11 +98,11 @@ void Platform_longOptionsUsage(const char* name);
bool Platform_getLongOption(int opt, int argc, char** argv);
static inline void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec) {
- Generic_gettime_realtime(tv, msec);
+ Generic_gettime_realtime(tv, msec);
}
static inline void Platform_gettime_monotonic(uint64_t* msec) {
- Generic_gettime_monotonic(msec);
+ Generic_gettime_monotonic(msec);
}
static inline Hashtable* Platform_dynamicMeters(void) {

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