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

Unified Diff: fusl/src/internal/syscall_ret.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/internal/syscall_ret.c
diff --git a/fusl/src/internal/syscall_ret.c b/fusl/src/internal/syscall_ret.c
index a3f471368fc36ec6ebadbfe37f81ace83aaa4c7b..8e2aff2d3682e3e725ce15e59a2dedb4b3deabf2 100644
--- a/fusl/src/internal/syscall_ret.c
+++ b/fusl/src/internal/syscall_ret.c
@@ -1,11 +1,10 @@
#include <errno.h>
#include "syscall.h"
-long __syscall_ret(unsigned long r)
-{
- if (r > -4096UL) {
- errno = -r;
- return -1;
- }
- return r;
+long __syscall_ret(unsigned long r) {
+ if (r > -4096UL) {
+ errno = -r;
+ return -1;
+ }
+ return r;
}

Powered by Google App Engine
This is Rietveld 408576698