aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-26 15:51:54 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-26 15:51:54 +0300
commit699f595d086820f8e016195b9ad3b5b90dad17d8 (patch)
treee9f65b1d39c9a6f324d44dd48340342c9378142e /src
parent6e20bab8f5fcfbe4fe816425704f9edd8ad88444 (diff)
downloadparcini-699f595d086820f8e016195b9ad3b5b90dad17d8.tar.gz
parcini-699f595d086820f8e016195b9ad3b5b90dad17d8.zip
Formatting/style corrections
Diffstat (limited to 'src')
-rw-r--r--src/parcini.c6
1 files changed, 4 insertions, 2 deletions
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;
}