summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 11:47:46 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 11:47:46 +0200
commite09c3a1ae82ad3ef1938b37faf447335f9aac9ba (patch)
tree699b66ac84a7cccee668661b59a95d0090dce809
parent8358833bc8eb15d36086d41707ca107eb89a36ab (diff)
downloadserenity-e09c3a1ae82ad3ef1938b37faf447335f9aac9ba.zip
SystemServer: Run clang-format on everything.
-rw-r--r--Servers/SystemServer/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Servers/SystemServer/main.cpp b/Servers/SystemServer/main.cpp
index 06e9d70d8b..c908f665e9 100644
--- a/Servers/SystemServer/main.cpp
+++ b/Servers/SystemServer/main.cpp
@@ -1,12 +1,12 @@
+#include <AK/Assertions.h>
+#include <errno.h>
+#include <sched.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <unistd.h>
-#include <errno.h>
-#include <string.h>
-#include <sched.h>
-#include <AK/Assertions.h>
-void start_process(const char *prog, int prio)
+void start_process(const char* prog, int prio)
{
pid_t pid = 0;
@@ -47,14 +47,14 @@ void start_process(const char *prog, int prio)
}
}
-int main(int, char **)
+int main(int, char**)
{
int lowest_prio = sched_get_priority_min(SCHED_OTHER);
int highest_prio = sched_get_priority_max(SCHED_OTHER);
start_process("/bin/LookupServer", lowest_prio);
start_process("/bin/WindowServer", highest_prio);
start_process("/bin/Taskbar", highest_prio);
- start_process("/bin/Terminal", highest_prio-1);
+ start_process("/bin/Terminal", highest_prio - 1);
start_process("/bin/Launcher", highest_prio);
while (1) {