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

Unified Diff: fusl/crt/crt1.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/crt/crt1.c
diff --git a/fusl/crt/crt1.c b/fusl/crt/crt1.c
index af02af945be5f059492c530b002b23da1fa1cd9d..71293d8b50b5394ef430625f3ce863f30501c7ab 100644
--- a/fusl/crt/crt1.c
+++ b/fusl/crt/crt1.c
@@ -7,12 +7,15 @@
int main();
void _init() __attribute__((weak));
void _fini() __attribute__((weak));
-_Noreturn int __libc_start_main(int (*)(), int, char **,
- void (*)(), void(*)(), void(*)());
+_Noreturn int __libc_start_main(int (*)(),
+ int,
+ char**,
+ void (*)(),
+ void (*)(),
+ void (*)());
-void _start_c(long *p)
-{
- int argc = p[0];
- char **argv = (void *)(p+1);
- __libc_start_main(main, argc, argv, _init, _fini, 0);
+void _start_c(long* p) {
+ int argc = p[0];
+ char** argv = (void*)(p + 1);
+ __libc_start_main(main, argc, argv, _init, _fini, 0);
}

Powered by Google App Engine
This is Rietveld 408576698