Userland: Run clang-format on everything.

This commit is contained in:
Andreas Kling 2019-06-07 11:49:31 +02:00
commit b07bbf383d
Notes: sideshowbarker 2024-07-19 13:41:22 +09:00
48 changed files with 271 additions and 268 deletions

View file

@ -1,6 +1,6 @@
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
static volatile bool got_alarm = false;
@ -11,7 +11,7 @@ int main(int c, char** v)
ret = alarm(2);
printf("alarm() with an alarm(5) set: %u\n", ret);
signal(SIGALRM, [] (int) {
signal(SIGALRM, [](int) {
got_alarm = true;
});
printf("Entering infinite loop.\n");