Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build warnings #40

Merged
merged 1 commit into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions third_party/lwip/repo/lwip/src/core/memp.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ _Static_assert ((PBUF_CUSTOM_POOL_IDX_START > PBUF_CUSTOM_POOL_IDX_END), "PBUF_C
#define MEMP_PBUF_POOL_HIGHWATERMARK(type) (type)
#endif

#define sys_profile_interval_set_pbuf_highwatermark(...)

#if MEMP_SANITY_CHECK && !MEMP_MEM_MALLOC
/**
* Check that memp-lists don't form a circle, using "Floyd's cycle-finding algorithm".
Expand Down
2 changes: 1 addition & 1 deletion third_party/lwip/repo/lwip/src/core/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ udp_sendto_if_src_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *d
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP checksum 0x%04"X16_F"\n", lwip_ntohs(udphdr->chksum)));
LWIP_DEBUGF(UDP_DEBUG, ("udp_send: ip_output_if (,,,,0x%02"X16_F",)\n", (u16_t)ip_proto));
/* output to IP */
netif_apply_pcb(netif, pcb);
netif_apply_pcb(netif, (struct ip_pcb*) pcb);
err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif);
netif_apply_pcb(netif, NULL);
#if LWIP_MANAGEMENT_CHANNEL
Expand Down