Переглянути джерело

contrib: Fix speling issues

Found by codespell
Erik Ekman 2 роки тому
батько
коміт
e7abb85d63

+ 1 - 1
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+="$@"
 

+ 3 - 3
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

+ 1 - 1
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

+ 1 - 1
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)