nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aguettou...@apache.org
Subject [incubator-nuttx-apps] 03/04: examples/udp: Avoid common symbols
Date Thu, 02 Apr 2020 10:40:10 GMT
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 <yamamoto@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
 
 /****************************************************************************


Mime
View raw message