1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

Userland: Run clang-format on everything.

This commit is contained in:
Andreas Kling 2019-06-07 11:49:31 +02:00
parent f7ede145b4
commit b07bbf383d
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");