summaryrefslogtreecommitdiff
path: root/Userland/al.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 11:49:31 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 11:49:31 +0200
commitb07bbf383d551eca9a50667cda0daec3eb74e806 (patch)
treeee982b94d6df8d150a207892dcceb0cdd216934b /Userland/al.cpp
parentf7ede145b42043a81c7e50f85616e25875521b04 (diff)
downloadserenity-b07bbf383d551eca9a50667cda0daec3eb74e806.zip
Userland: Run clang-format on everything.
Diffstat (limited to 'Userland/al.cpp')
-rw-r--r--Userland/al.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/al.cpp b/Userland/al.cpp
index d5b2cad0fd..96094d5d6c 100644
--- a/Userland/al.cpp
+++ b/Userland/al.cpp
@@ -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");