From 699f595d086820f8e016195b9ad3b5b90dad17d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 26 Aug 2021 15:51:54 +0300 Subject: Formatting/style corrections --- src/parcini.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/parcini.c b/src/parcini.c index 83b5de4..7fa8247 100644 --- a/src/parcini.c +++ b/src/parcini.c @@ -28,7 +28,8 @@ struct parcini { * non-whitespace character. */ static void -rstrip(const char *start, char **end) { +rstrip(const char *start, char **end) +{ while (start < *end && isspace(**end)) { **end = '\0'; *end -= 1; @@ -40,7 +41,8 @@ rstrip(const char *start, char **end) { * a non-whitespace character. */ static void -lskip(char **start) { +lskip(char **start) +{ while (**start && isspace(**start)) { *start += 1; } -- cgit v1.2.3