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:
parent
f7ede145b4
commit
b07bbf383d
48 changed files with 271 additions and 268 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue