1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

fixup! sock: Introduction of new application layer API

Simplify static intializers.
This commit is contained in:
Martine Lenders 2016-08-22 22:28:15 +02:00
parent 1f74eae424
commit 877cad9d66

View File

@ -116,7 +116,6 @@ extern "C" {
* @brief Address to bind to any IPv4 address
*/
#define SOCK_IPV4_EP_ANY { .family = AF_INET, \
.addr = { .ipv4 = 0U }, \
.netif = SOCK_ADDR_ANY_NETIF }
#if defined(SOCK_HAS_IPV6) || defined(DOXYGEN)
@ -124,7 +123,6 @@ extern "C" {
* @brief Address to bind to any IPv6 address
*/
#define SOCK_IPV6_EP_ANY { .family = AF_INET6, \
.addr = { .ipv6 = { 0 } }, \
.netif = SOCK_ADDR_ANY_NETIF }
#endif