You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/04/02 10:40:10 UTC
[incubator-nuttx-apps] 03/04: examples/udp: Avoid common symbols
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit d5ec9f91aed6cb9cb3cba70526dcaf56a9173042
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Apr 2 01:31:11 2020 +0900
examples/udp: Avoid common symbols
---
examples/udp/udp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/udp/udp.h b/examples/udp/udp.h
index 5956ab9..82145a4 100644
--- a/examples/udp/udp.h
+++ b/examples/udp/udp.h
@@ -105,9 +105,9 @@
****************************************************************************/
#ifdef CONFIG_EXAMPLES_UDP_IPv6
-uint16_t g_udpserver_ipv6[8];
+extern uint16_t g_udpserver_ipv6[8];
#else
-uint32_t g_udpserver_ipv4;
+extern uint32_t g_udpserver_ipv4;
#endif
/****************************************************************************