diff --git a/src/common_io_fields.c b/src/common_io_fields.c
index f30d95d0023612c7c93fde36465f0f1906fd266f..6ca66e11fe97a4acb3f536765e7c4058e104b508 100644
--- a/src/common_io_fields.c
+++ b/src/common_io_fields.c
@@ -400,9 +400,9 @@ void io_write_output_field_parameter(const char* filename, int with_cosmology,
         strcpy(&comment_write_buffer[PARSER_MAX_LINE_SIZE / 2 - 4], "...");
       }
 
-      fprintf(file, "  %s_%s: %s  # (%dD - %zd bytes / dim) %s : %s\n", list[i].name,
-              part_type_names[ptype], "on", list[i].dimension, io_sizeof_type(list[i].type),
-	      comment_write_buffer, unit_buffer);
+      fprintf(file, "  %s_%s: %s  # (%dD - %zd bytes / dim) %s : %s\n",
+              list[i].name, part_type_names[ptype], "on", list[i].dimension,
+              io_sizeof_type(list[i].type), comment_write_buffer, unit_buffer);
     }
 
     fprintf(file, "\n");
diff --git a/src/scheduler.c b/src/scheduler.c
index 980f83c86ba71866f6fd73d28b8bc6d63638b69e..8a8c3c02404235057ce6729a032131472c47e844 100644
--- a/src/scheduler.c
+++ b/src/scheduler.c
@@ -1374,7 +1374,8 @@ static void scheduler_splittask_hydro(struct task *t, struct scheduler *s) {
                     scheduler_addtask(s, task_type_pair, t->subtype, 0, 0,
                                       ci->progeny[j], cj->progeny[k]);
                 scheduler_splittask_hydro(tl, s);
-                tl->flags = space_getsid_and_swap_cells(s->space, &t->ci, &t->cj, shift);
+                tl->flags = space_getsid_and_swap_cells(s->space, &t->ci,
+                                                        &t->cj, shift);
               }
       }
     } /* pair interaction? */
diff --git a/src/space_getsid.h b/src/space_getsid.h
index 40cdc1c911d1f7dc6b6c15e9caf60699041e633f..df81615d3cf1053d5642093743616d164d143ceb 100644
--- a/src/space_getsid.h
+++ b/src/space_getsid.h
@@ -43,9 +43,9 @@
  *
  * @return The shift ID and set shift, may or may not swap ci and cj.
  */
-__attribute__((always_inline, nonnull)) INLINE static int space_getsid_and_swap_cells(
-    const struct space *s, struct cell **ci, struct cell **cj,
-    double shift[3]) {
+__attribute__((always_inline, nonnull)) INLINE static int
+space_getsid_and_swap_cells(const struct space *s, struct cell **ci,
+                            struct cell **cj, double shift[3]) {
 
   /* Get the relative distance between the pairs, wrapping. */
   const int periodic = s->periodic;