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

Unified Diff: fusl/src/prng/seed48.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/prng/seed48.c
diff --git a/fusl/src/prng/seed48.c b/fusl/src/prng/seed48.c
index e0699c092afd677bc40339707ac4ca1ab7e265ea..cdfae198471ea58050da4306a85388aabd93caa6 100644
--- a/fusl/src/prng/seed48.c
+++ b/fusl/src/prng/seed48.c
@@ -3,10 +3,9 @@
extern unsigned short __seed48[7];
-unsigned short *seed48(unsigned short *s)
-{
- static unsigned short p[3];
- memcpy(p, __seed48, sizeof p);
- memcpy(__seed48, s, sizeof p);
- return p;
+unsigned short* seed48(unsigned short* s) {
+ static unsigned short p[3];
+ memcpy(p, __seed48, sizeof p);
+ memcpy(__seed48, s, sizeof p);
+ return p;
}

Powered by Google App Engine
This is Rietveld 408576698