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

Unified Diff: fusl/src/stdlib/gcvt.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/stdlib/gcvt.c
diff --git a/fusl/src/stdlib/gcvt.c b/fusl/src/stdlib/gcvt.c
index f29bc304e5bad0459c699422b273d6e381f2c539..a5de4f03cd4c9b3962e2e663f1bb1d20b2be12d4 100644
--- a/fusl/src/stdlib/gcvt.c
+++ b/fusl/src/stdlib/gcvt.c
@@ -2,8 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
-char *gcvt(double x, int n, char *b)
-{
- sprintf(b, "%.*g", n, x);
- return b;
+char* gcvt(double x, int n, char* b) {
+ sprintf(b, "%.*g", n, x);
+ return b;
}

Powered by Google App Engine
This is Rietveld 408576698