aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}