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

Unified Diff: fusl/src/linux/stime.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/linux/stime.c
diff --git a/fusl/src/linux/stime.c b/fusl/src/linux/stime.c
index 7d0443ba3b668b80d0240964c784f8e78c1e6a84..2ae9663a937825a6fecbdff33065b4e7570c328a 100644
--- a/fusl/src/linux/stime.c
+++ b/fusl/src/linux/stime.c
@@ -2,8 +2,7 @@
#include <time.h>
#include <sys/time.h>
-int stime(const time_t *t)
-{
- struct timeval tv = { .tv_sec = *t, .tv_usec = 0 };
- return settimeofday(&tv, (void *)0);
+int stime(const time_t* t) {
+ struct timeval tv = {.tv_sec = *t, .tv_usec = 0};
+ return settimeofday(&tv, (void*)0);
}

Powered by Google App Engine
This is Rietveld 408576698