git: ce7db385f50a - main - include: Fix typos

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 22 Feb 2023 16:53:24 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ce7db385f50a29e73170c4e7cedfe4706bba34fc

commit ce7db385f50a29e73170c4e7cedfe4706bba34fc
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-02-22 08:33:35 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-02-22 16:52:57 +0000

    include: Fix typos
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
---
 include/nsswitch.h        | 2 +-
 include/protocols/talkd.h | 2 +-
 include/rpc/rpc_msg.h     | 2 +-
 include/stdlib.h          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/nsswitch.h b/include/nsswitch.h
index 2be7a59fd1b9..0db8a8118594 100644
--- a/include/nsswitch.h
+++ b/include/nsswitch.h
@@ -186,7 +186,7 @@ typedef ns_mtab *(*nss_module_register_fn)(const char *, unsigned int *,
 
 /* 
  * Many NSS interfaces follow the getXXnam, getXXid, getXXent pattern.
- * Developers are encouraged to use nss_lookup_type where approriate.
+ * Developers are encouraged to use nss_lookup_type where appropriate.
  */
 enum nss_lookup_type {
 	nss_lt_name = 1,
diff --git a/include/protocols/talkd.h b/include/protocols/talkd.h
index dc79bef77b6e..d361fb0d12db 100644
--- a/include/protocols/talkd.h
+++ b/include/protocols/talkd.h
@@ -56,7 +56,7 @@
 
 /*
  * The talk protocol embeds a 4.3BSD sockaddr.  Define our own version
- * rather then relying on namespace polution in kernel headers.
+ * rather then relying on namespace pollution in kernel headers.
  */
 struct tsockaddr {
 	unsigned short sa_family;
diff --git a/include/rpc/rpc_msg.h b/include/rpc/rpc_msg.h
index 136b617f58e8..a384c92606c9 100644
--- a/include/rpc/rpc_msg.h
+++ b/include/rpc/rpc_msg.h
@@ -49,7 +49,7 @@
 
 /*
  * Bottom up definition of an rpc message.
- * NOTE: call and reply use the same overall stuct but
+ * NOTE: call and reply use the same overall struct but
  * different parts of unions within it.
  */
 
diff --git a/include/stdlib.h b/include/stdlib.h
index 754e8f5f5fd4..01629ed84a11 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -131,7 +131,7 @@ size_t	 wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
  * is not supported in the compilation environment (which therefore means
  * that it can't really be ISO C99).
  *
- * (The only other extension made by C99 in thie header is _Exit().)
+ * (The only other extension made by C99 in this header is _Exit().)
  */
 #if __ISO_C_VISIBLE >= 1999 || defined(__cplusplus)
 #ifdef __LONG_LONG_SUPPORTED