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

Unified Diff: fusl/src/network/gethostbyname_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/network/gethostbyname_r.c
diff --git a/fusl/src/network/gethostbyname_r.c b/fusl/src/network/gethostbyname_r.c
index cd8725417377284696d75344e8e679e14ae9cb7b..ed6fa2954b58a79ae9ccd16e1dea100e8e0fc1b5 100644
--- a/fusl/src/network/gethostbyname_r.c
+++ b/fusl/src/network/gethostbyname_r.c
@@ -3,9 +3,11 @@
#include <sys/socket.h>
#include <netdb.h>
-int gethostbyname_r(const char *name,
- struct hostent *h, char *buf, size_t buflen,
- struct hostent **res, int *err)
-{
- return gethostbyname2_r(name, AF_INET, h, buf, buflen, res, err);
+int gethostbyname_r(const char* name,
+ struct hostent* h,
+ char* buf,
+ size_t buflen,
+ struct hostent** res,
+ int* err) {
+ return gethostbyname2_r(name, AF_INET, h, buf, buflen, res, err);
}

Powered by Google App Engine
This is Rietveld 408576698