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

Unified Diff: fusl/include/sys/param.h

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/include/sys/param.h
diff --git a/fusl/include/sys/param.h b/fusl/include/sys/param.h
index 344c0d234ba559d4c648ee0c365c24e46b90642e..6c2ebe92deaebbc3c7c2dd0dfccc27dc8eabec6e 100644
--- a/fusl/include/sys/param.h
+++ b/fusl/include/sys/param.h
@@ -15,17 +15,17 @@
#undef MIN
#undef MAX
-#define MIN(a,b) (((a)<(b))?(a):(b))
-#define MAX(a,b) (((a)>(b))?(a):(b))
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
+#define MAX(a, b) (((a) > (b)) ? (a) : (b))
-#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
-#define setbit(x,i) __bitop(x,i,|=)
-#define clrbit(x,i) __bitop(x,i,&=~)
-#define isset(x,i) __bitop(x,i,&)
-#define isclr(x,i) !isset(x,i)
+#define __bitop(x, i, o) ((x)[(i) / 8] o(1 << (i) % 8))
+#define setbit(x, i) __bitop(x, i, |=)
+#define clrbit(x, i) __bitop(x, i, &= ~)
+#define isset(x, i) __bitop(x, i, &)
+#define isclr(x, i) !isset(x, i)
-#define howmany(n,d) (((n)+((d)-1))/(d))
-#define roundup(n,d) (howmany(n,d)*(d))
+#define howmany(n, d) (((n) + ((d)-1)) / (d))
+#define roundup(n, d) (howmany(n, d) * (d))
#define powerof2(n) !(((n)-1) & (n))
#include <sys/resource.h>

Powered by Google App Engine
This is Rietveld 408576698