summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-08-09 20:49:08 +0000
committerandvar <andvar@NetBSD.org>2021-08-09 20:49:08 +0000
commita0b1e536df3104e76cf5c2f37490cb23a63128b8 (patch)
tree6ab4896fa3c2d2c9dc17be5363287a3dbcc22c40 /include
parentbb8ca2d9cb64e420b74f6a8b26bc0ef2a4c0e5b1 (diff)
fix various typos in compatibility, mainly in comments.
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h4
-rw-r--r--include/string.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 9eac6955113..eff04403726 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,4 @@
-/* $NetBSD: netdb.h,v 1.70 2020/06/04 11:21:16 nia Exp $ */
+/* $NetBSD: netdb.h,v 1.71 2021/08/09 20:49:08 andvar Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -151,7 +151,7 @@ struct hostent {
int h_addrtype; /*%< host address type */
int h_length; /*%< length of address */
char **h_addr_list; /*%< list of addresses from name server */
-#define h_addr h_addr_list[0] /*%< address, for backward compatiblity */
+#define h_addr h_addr_list[0] /*%< address, for backward compatibility */
};
/*%
diff --git a/include/string.h b/include/string.h
index f61004e30b2..70d16dcc54c 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,4 @@
-/* $NetBSD: string.h,v 1.52 2018/02/20 02:35:24 kamil Exp $ */
+/* $NetBSD: string.h,v 1.53 2021/08/09 20:49:08 andvar Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -95,7 +95,7 @@ __aconst char *strsignal(int);
__END_DECLS
#if defined(_NETBSD_SOURCE)
-#include <strings.h> /* for backwards-compatibilty */
+#include <strings.h> /* for backwards-compatibility */
__BEGIN_DECLS
void *memmem(const void *, size_t, const void *, size_t);
char *strcasestr(const char *, const char *);