From 976c6123f41492aaf613b9d172eef1842fb7b0a3 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 14 Jul 2021 19:24:18 +0200 Subject: Pointer indication aligned to typename --- pcp/PCPProcessList.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcp') diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c index da51c31c..fccd60d7 100644 --- a/pcp/PCPProcessList.c +++ b/pcp/PCPProcessList.c @@ -273,7 +273,7 @@ static void PCPProcessList_updateCmdline(Process* process, int pid, int offset, return; } - char *command = value.cp; + char* command = value.cp; int length = strlen(command); if (command[0] != '(') { process->isKernelThread = false; @@ -472,7 +472,7 @@ static inline void PCPProcessList_backupCPUTime(pmAtomValue* values) { } static inline void PCPProcessList_saveCPUTimePeriod(pmAtomValue* values, CPUMetric previous, pmAtomValue* latest) { - pmAtomValue *value; + pmAtomValue* value; /* new value for period */ value = &values[previous]; -- cgit v1.2.3