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

Unified Diff: fusl/src/time/asctime_r.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/time/asctime_r.c
diff --git a/fusl/src/time/asctime_r.c b/fusl/src/time/asctime_r.c
index 7dfbb1210371b3d281b81f0bf443a6337a41eee0..1674836a315cb7a5d09c42b1771a725844627c3d 100644
--- a/fusl/src/time/asctime_r.c
+++ b/fusl/src/time/asctime_r.c
@@ -1,8 +1,7 @@
#include <time.h>
-char *__asctime(const struct tm *restrict, char *restrict);
+char* __asctime(const struct tm* restrict, char* restrict);
-char *asctime_r(const struct tm *restrict tm, char *restrict buf)
-{
- return __asctime(tm, buf);
+char* asctime_r(const struct tm* restrict tm, char* restrict buf) {
+ return __asctime(tm, buf);
}

Powered by Google App Engine
This is Rietveld 408576698