diff --git a/tests/fish_test_helper.c b/tests/fish_test_helper.c index f1af29447..4bcdf0849 100644 --- a/tests/fish_test_helper.c +++ b/tests/fish_test_helper.c @@ -2,15 +2,13 @@ // programs, allowing fish to test its behavior. #include -#include -#include -#include - #include #include #include #include #include +#include +#include static void abandon_tty() { // The parent may get SIGSTOPed when it tries to call tcsetpgrp if the child has already done @@ -191,8 +189,7 @@ static void sigint_self() { abort(); } -static void do_nothing(int x) { -} +static void do_nothing(int x) {} static void stdin_make_nonblocking() { const int fd = STDIN_FILENO; // Catch SIGCONT so pause() wakes us up.