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

Unified Diff: fusl/src/unistd/ftruncate.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/ftruncate.c
diff --git a/fusl/src/unistd/ftruncate.c b/fusl/src/unistd/ftruncate.c
index 467135f009971316101b6e38e5384707baa508c4..b1e7cdbb27186887b6cc0ae6cd91d7cfa58a6581 100644
--- a/fusl/src/unistd/ftruncate.c
+++ b/fusl/src/unistd/ftruncate.c
@@ -2,9 +2,8 @@
#include "syscall.h"
#include "libc.h"
-int ftruncate(int fd, off_t length)
-{
- return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length));
+int ftruncate(int fd, off_t length) {
+ return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length));
}
LFS64(ftruncate);

Powered by Google App Engine
This is Rietveld 408576698