uncrustify FEATURE control stmt spacing options
diff --git a/src/diff.c b/src/diff.c
index e0b0b7b..e20c520 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -201,7 +201,7 @@
         } else {
             for (iter = first; iter->prev->next; iter = iter->prev) {}
         }
-        for (; iter; iter = iter->next) {
+        for ( ; iter; iter = iter->next) {
             if (iter->schema == first->schema) {
                 LY_ARRAY_NEW_RET(schema->module->ctx, item->inst, node, NULL);
                 *node = iter;
@@ -353,7 +353,7 @@
     if (*op == LYD_DIFF_OP_CREATE) {
         /* insert the instance */
         LY_ARRAY_RESIZE_ERR_RET(schema->module->ctx, userord_item->inst, LY_ARRAY_COUNT(userord_item->inst) + 1,
-                                ;, LY_EMEM);
+                                ; , LY_EMEM);
         if (second_pos < LY_ARRAY_COUNT(userord_item->inst)) {
             memmove(userord_item->inst + second_pos + 1, userord_item->inst + second_pos,
                     (LY_ARRAY_COUNT(userord_item->inst) - second_pos) * sizeof *userord_item->inst);