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

Unified Diff: native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h

Issue 22625004: Adds htonl, htons, ntohl, and ntohs to newlib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gethostbyname
Patch Set: Created 7 years, 4 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: native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h
diff --git a/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h b/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h
index 857813728adb12db1f1bdf5c06ab99befdda2955..c86f3c0230ad53b39cf67c056acaee3552f99d97 100644
--- a/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h
+++ b/native_client_sdk/src/libraries/third_party/newlib-extras/arpa/inet.h
@@ -116,9 +116,7 @@ struct in_addr {
#define inet_network __inet_network
#define inet_net_ntop __inet_net_ntop
#define inet_net_pton __inet_net_pton
-#define inet_ntoa __inet_ntoa
#define inet_pton __inet_pton
-#define inet_ntop __inet_ntop
#define inet_nsap_addr __inet_nsap_addr
#define inet_nsap_ntoa __inet_nsap_ntoa
Sam Clegg 2013/08/08 01:47:25 Presumably you should remove all these #defines?
torinmr 2013/08/08 17:10:07 I figured I shouldn't remove these for functions t

Powered by Google App Engine
This is Rietveld 408576698