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

Unified Diff: fusl/src/stdio/__stdio_seek.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/stdio/__stdio_seek.c
diff --git a/fusl/src/stdio/__stdio_seek.c b/fusl/src/stdio/__stdio_seek.c
index 13e06a663eff8e4cb79cabf33c4ec08df20e570e..6e642a68dfc9102bbdec8161be730093e3274a7b 100644
--- a/fusl/src/stdio/__stdio_seek.c
+++ b/fusl/src/stdio/__stdio_seek.c
@@ -1,13 +1,12 @@
#include "stdio_impl.h"
-off_t __stdio_seek(FILE *f, off_t off, int whence)
-{
- off_t ret;
+off_t __stdio_seek(FILE* f, off_t off, int whence) {
+ off_t ret;
#ifdef SYS__llseek
- if (syscall(SYS__llseek, f->fd, off>>32, off, &ret, whence)<0)
- ret = -1;
+ if (syscall(SYS__llseek, f->fd, off >> 32, off, &ret, whence) < 0)
+ ret = -1;
#else
- ret = syscall(SYS_lseek, f->fd, off, whence);
+ ret = syscall(SYS_lseek, f->fd, off, whence);
#endif
- return ret;
+ return ret;
}

Powered by Google App Engine
This is Rietveld 408576698