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

Unified Diff: fusl/src/time/asctime.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.c
diff --git a/fusl/src/time/asctime.c b/fusl/src/time/asctime.c
index 3102eb87388c0dea83cd01b115ee15a392e9a6a8..eea793d59536dfad6111e6e3bfcca86df1d69789 100644
--- a/fusl/src/time/asctime.c
+++ b/fusl/src/time/asctime.c
@@ -1,9 +1,8 @@
#include <time.h>
-char *__asctime(const struct tm *, char *);
+char* __asctime(const struct tm*, char*);
-char *asctime(const struct tm *tm)
-{
- static char buf[26];
- return __asctime(tm, buf);
+char* asctime(const struct tm* tm) {
+ static char buf[26];
+ return __asctime(tm, buf);
}

Powered by Google App Engine
This is Rietveld 408576698