mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 17:43:39 +08:00
Fix-more-typos-using-codespell
Committing nearly all changes done by 'codespell_check.sh -w' Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
@@ -142,7 +142,7 @@ static err_t etharp_raw(struct netif *netif,
|
||||
/**
|
||||
* Free a complete queue of etharp entries
|
||||
*
|
||||
* @param q a qeueue of etharp_q_entry's to free
|
||||
* @param q a queue of etharp_q_entry's to free
|
||||
*/
|
||||
static void
|
||||
free_etharp_q(struct etharp_q_entry *q)
|
||||
|
||||
@@ -688,7 +688,7 @@ mem_free(void *rmem)
|
||||
/**
|
||||
* Shrink memory returned by mem_malloc().
|
||||
*
|
||||
* @param rmem pointer to memory allocated by mem_malloc the is to be shrinked
|
||||
* @param rmem pointer to memory allocated by mem_malloc the is to be shrunk
|
||||
* @param new_size required size after shrinking (needs to be smaller than or
|
||||
* equal to the previous size)
|
||||
* @return for compatibility reasons: is always == rmem, at the moment
|
||||
@@ -757,7 +757,7 @@ mem_trim(void *rmem, mem_size_t new_size)
|
||||
LWIP_ASSERT("invalid next ptr", mem->next != MEM_SIZE_ALIGNED);
|
||||
/* remember the old next pointer */
|
||||
next = mem2->next;
|
||||
/* create new struct mem which is moved directly after the shrinked mem */
|
||||
/* create new struct mem which is moved directly after the shrunk mem */
|
||||
ptr2 = (mem_size_t)(ptr + SIZEOF_STRUCT_MEM + newsize);
|
||||
if (lfree == mem2) {
|
||||
lfree = ptr_to_mem(ptr2);
|
||||
|
||||
@@ -741,7 +741,7 @@ netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *
|
||||
change_reason |= LWIP_NSC_IPV4_SETTINGS_CHANGED;
|
||||
}
|
||||
if (!remove) {
|
||||
/* Isssue a callback even if the address hasn't changed, eg. DHCP reboot */
|
||||
/* Issue a callback even if the address hasn't changed, eg. DHCP reboot */
|
||||
change_reason |= LWIP_NSC_IPV4_ADDR_VALID;
|
||||
}
|
||||
if (change_reason != LWIP_NSC_NONE) {
|
||||
|
||||
@@ -1062,7 +1062,7 @@ again:
|
||||
* @param ipaddr the remote ip address to connect to
|
||||
* @param port the remote tcp port to connect to
|
||||
* @param connected callback function to call when connected (on error,
|
||||
the err calback will be called)
|
||||
the err callback will be called)
|
||||
* @return ERR_VAL if invalid arguments are given
|
||||
* ERR_OK if connect request has been sent
|
||||
* other err_t values if connect request couldn't be sent
|
||||
|
||||
Reference in New Issue
Block a user