From 0a51eae11fdd741c295d7b0390c6d9dbf04468d8 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 31 Oct 2020 20:39:01 +0100 Subject: Spacing after keywords (while) --- htop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'htop.c') diff --git a/htop.c b/htop.c index e02f388a..f5c35929 100644 --- a/htop.c +++ b/htop.c @@ -190,7 +190,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) { flags.pidMatchList = Hashtable_new(8, false); } - while(pid) { + while (pid) { unsigned int num_pid = atoi(pid); // deepcode ignore CastIntegerToAddress: we just want a non-NUll pointer here Hashtable_put(flags.pidMatchList, num_pid, (void *) 1); @@ -218,7 +218,7 @@ static void millisleep(unsigned long millisec) { .tv_sec = 0, .tv_nsec = millisec * 1000000L }; - while(nanosleep(&req,&req)==-1) { + while (nanosleep(&req,&req)==-1) { continue; } } -- cgit v1.2.3