Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1363)

Unified Diff: fusl/src/unistd/nice.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/unistd/nice.c
diff --git a/fusl/src/unistd/nice.c b/fusl/src/unistd/nice.c
index da56996776e26aedd31b4c5495d24797cfbce070..d72a89357a1d500d32eddbe1cf9093250de1ff79 100644
--- a/fusl/src/unistd/nice.c
+++ b/fusl/src/unistd/nice.c
@@ -2,11 +2,10 @@
#include <sys/resource.h>
#include "syscall.h"
-int nice(int inc)
-{
+int nice(int inc) {
#ifdef SYS_nice
- return syscall(SYS_nice, inc);
+ return syscall(SYS_nice, inc);
#else
- return setpriority(PRIO_PROCESS, 0, getpriority(PRIO_PROCESS, 0)+inc);
+ return setpriority(PRIO_PROCESS, 0, getpriority(PRIO_PROCESS, 0) + inc);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698