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

Unified Diff: fusl/include/assert.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/assert.h
diff --git a/fusl/include/assert.h b/fusl/include/assert.h
index e679adbf8338ed3280230089fa4e2c871e27a129..7d4b3d6ef9c480f76441cf2ba731d81f5bb4bd54 100644
--- a/fusl/include/assert.h
+++ b/fusl/include/assert.h
@@ -3,9 +3,10 @@
#undef assert
#ifdef NDEBUG
-#define assert(x) (void)0
+#define assert(x) (void)0
#else
-#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
+#define assert(x) \
+ ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__), 0)))
#endif
#if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
@@ -16,7 +17,7 @@
extern "C" {
#endif
-void __assert_fail (const char *, const char *, int, const char *);
+void __assert_fail(const char*, const char*, int, const char*);
#ifdef __cplusplus
}

Powered by Google App Engine
This is Rietveld 408576698