Chromium Code Reviews| 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) |