From e7abb85d63f6f18f217bb88101fd9a08fa49e3a0 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sat, 14 Oct 2023 18:01:37 +0200 Subject: [PATCH] contrib: Fix speling issues Found by codespell --- codespell_check.sh | 2 +- contrib/ports/unix/lib/lwipopts.h | 6 +++--- contrib/ports/unix/posixlib/include/posix/sockets.h | 2 +- contrib/ports/win32/pcapif_helper.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/codespell_check.sh b/codespell_check.sh index 3c88a3e4..89b25a1f 100755 --- a/codespell_check.sh +++ b/codespell_check.sh @@ -40,7 +40,7 @@ CODESPELL_OPTS+=" --check-hidden" # Disable false positives "nd => and, 2nd", "ans => and", "tolen => token", # "ofo => of", "WAN => WANT", "mut => must, mutt, moot" CODESPELL_OPTS+=" --ignore-words-list=nd,ans,tolen,ofo,wan,mut,clen,useg,clos " -CODESPELL_OPTS+=" --ignore-words-list=devine,clinet,linz,garantie,explicite " +CODESPELL_OPTS+=" --ignore-words-list=devine,clinet,linz,garantie,explicite,numer " # propagate all options to codespell -> pass "-w" to this script to write changes CODESPELL_OPTS+="$@" diff --git a/contrib/ports/unix/lib/lwipopts.h b/contrib/ports/unix/lib/lwipopts.h index 16db449b..79319a1c 100644 --- a/contrib/ports/unix/lib/lwipopts.h +++ b/contrib/ports/unix/lib/lwipopts.h @@ -109,7 +109,7 @@ #define MEMP_NUM_UDP_PCB 4 /** - * MEMP_NUM_TCP_PCB: the number of simulatenously active TCP connections. + * MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. * (requires the LWIP_TCP option) */ #define MEMP_NUM_TCP_PCB 4 @@ -133,7 +133,7 @@ #define MEMP_NUM_REASSDATA 1 /** - * MEMP_NUM_ARP_QUEUE: the number of simulateously queued outgoing + * MEMP_NUM_ARP_QUEUE: the number of simultaneously queued outgoing * packets (pbufs) that are waiting for an ARP request (to resolve * their destination address) to finish. * (requires the ARP_QUEUEING option) @@ -141,7 +141,7 @@ #define MEMP_NUM_ARP_QUEUE 2 /** - * MEMP_NUM_SYS_TIMEOUT: the number of simulateously active timeouts. + * MEMP_NUM_SYS_TIMEOUT: the number of simultaneously active timeouts. * (requires NO_SYS==0) */ #define MEMP_NUM_SYS_TIMEOUT 8 diff --git a/contrib/ports/unix/posixlib/include/posix/sockets.h b/contrib/ports/unix/posixlib/include/posix/sockets.h index f3900666..2370bb7f 100644 --- a/contrib/ports/unix/posixlib/include/posix/sockets.h +++ b/contrib/ports/unix/posixlib/include/posix/sockets.h @@ -120,7 +120,7 @@ const char *lwip_inet_ntop(int af, const void *src, char *dst, socklen_t size); int lwip_inet_pton(int af, const char *src, void *dst); #endif -/* Unsuported indetifiers */ +/* Unsupported identifiers */ #ifndef SO_NO_CHECK #define SO_NO_CHECK 0xFF #endif diff --git a/contrib/ports/win32/pcapif_helper.c b/contrib/ports/win32/pcapif_helper.c index 03b92e0d..9cc889c1 100644 --- a/contrib/ports/win32/pcapif_helper.c +++ b/contrib/ports/win32/pcapif_helper.c @@ -115,7 +115,7 @@ pcapifh_free_readonly_mem(void *data) } /** - * Npcap keeps its DLLs in a different directory for compatiblity with winpcap. + * Npcap keeps its DLLs in a different directory for compatibility with winpcap. * Make sure they get found by adding that directory to the DLL search path. */ void pcapifh_init_npcap(void)