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

Unified Diff: native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/in6.h

Issue 105943006: nacl_io: Add inet_pton() and ip6addr_* consts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/netinet6/in6.h
diff --git a/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/in6.h b/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/in6.h
index e15d8fab0362c9e145ff250933905938178f6e7e..ae488095507fa8fbce2cf5cfae70da70359a4de1 100644
--- a/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/in6.h
+++ b/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/in6.h
@@ -215,12 +215,21 @@ extern const struct in6_addr in6mask128;
{{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 }}}
+
+#ifdef __cplusplus
+extern "C" {
+#endif
Sam Clegg 2013/12/06 02:31:36 Looks like the convention in these headers is to u
Sergey Ulanov 2013/12/06 20:20:22 Done.
+
extern const struct in6_addr in6addr_any;
extern const struct in6_addr in6addr_loopback;
extern const struct in6_addr in6addr_nodelocal_allnodes;
extern const struct in6_addr in6addr_linklocal_allnodes;
extern const struct in6_addr in6addr_linklocal_allrouters;
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
/*
* Equality
* NOTE: Some of kernel programming environment (for example, openbsd/sparc)

Powered by Google App Engine
This is Rietveld 408576698