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

Unified Diff: fusl/src/stdlib/div.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/div.c
diff --git a/fusl/src/stdlib/div.c b/fusl/src/stdlib/div.c
index e42c1f14fa49464a606e17b8f142ef3c882c23a7..8f5ea4b746afac4bada1addfc6d15df68a5c12d2 100644
--- a/fusl/src/stdlib/div.c
+++ b/fusl/src/stdlib/div.c
@@ -1,6 +1,5 @@
#include <stdlib.h>
-div_t div(int num, int den)
-{
- return (div_t){ num/den, num%den };
+div_t div(int num, int den) {
+ return (div_t){num / den, num % den};
}

Powered by Google App Engine
This is Rietveld 408576698