summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordavid <david@openbsd.org>2003-03-10 04:02:49 +0000
committerdavid <david@openbsd.org>2003-03-10 04:02:49 +0000
commit9534f5ccc4cebf1f1b08de8d33bfbbb77f9dc5c8 (patch)
treed2a2f593eeb28489922a303e48532721a7b82859 /lib/libc
parenttypo (diff)
downloadwireguard-openbsd-9534f5ccc4cebf1f1b08de8d33bfbbb77f9dc5c8.tar.xz
wireguard-openbsd-9534f5ccc4cebf1f1b08de8d33bfbbb77f9dc5c8.zip
duplicate words and spelling fixes in comments
ok miod@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/alpha/gen/modf.c6
-rw-r--r--lib/libc/arch/m88k/sys/sigsuspend.S6
-rw-r--r--lib/libc/arch/vax/string/index.S4
-rw-r--r--lib/libc/gen/nlist.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/arch/alpha/gen/modf.c b/lib/libc/arch/alpha/gen/modf.c
index 996253b2fe3..553e348c529 100644
--- a/lib/libc/arch/alpha/gen/modf.c
+++ b/lib/libc/arch/alpha/gen/modf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modf.c,v 1.3 1996/11/13 21:20:21 niklas Exp $ */
+/* $OpenBSD: modf.c,v 1.4 2003/03/10 04:02:49 david Exp $ */
/* $NetBSD: modf.c,v 1.1 1995/02/10 17:50:25 cgd Exp $ */
/*
@@ -29,7 +29,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: modf.c,v 1.3 1996/11/13 21:20:21 niklas Exp $";
+static char *rcsid = "$OpenBSD: modf.c,v 1.4 2003/03/10 04:02:49 david Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -88,7 +88,7 @@ modf(val, iptr)
* If you look at the math involved for a few seconds, it's
* plain to see that the integral part is the input, with the
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
- * the the fractional part is the part with the rest of the
+ * the fractional part is the part with the rest of the
* bits zeroed. Just zeroing the high bits to get the
* fractional part would yield a fraction in need of
* normalization. Therefore, we take the easy way out, and
diff --git a/lib/libc/arch/m88k/sys/sigsuspend.S b/lib/libc/arch/m88k/sys/sigsuspend.S
index f9ecec61330..b4fc8038c13 100644
--- a/lib/libc/arch/m88k/sys/sigsuspend.S
+++ b/lib/libc/arch/m88k/sys/sigsuspend.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
+/* $OpenBSD: sigsuspend.S,v 1.6 2003/03/10 04:02:49 david Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -39,13 +39,13 @@
#if defined(LIBC_SCCS)
.data
- .string "$OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+ .string "$OpenBSD: sigsuspend.S,v 1.6 2003/03/10 04:02:49 david Exp $"
#endif /* LIBC_SCCS */
#include "SYS.h"
/*
- * Sigsuspend actually expects a pointer to the the mask. To save
+ * Sigsuspend actually expects a pointer to the mask. To save
* a copyin in the kernel, we do the dereference here and pass it.
* This will be fail if we ever have more than 32 signals ie. sizeof
* sigset_t != sizeof int.
diff --git a/lib/libc/arch/vax/string/index.S b/lib/libc/arch/vax/string/index.S
index 378f23d3512..2b8b72aefa1 100644
--- a/lib/libc/arch/vax/string/index.S
+++ b/lib/libc/arch/vax/string/index.S
@@ -33,11 +33,11 @@
#if defined(LIBC_SCCS)
.text
- .asciz "$OpenBSD: index.S,v 1.2 1996/08/19 08:18:49 tholo Exp $"
+ .asciz "$OpenBSD: index.S,v 1.3 2003/03/10 04:02:49 david Exp $"
#endif /* LIBC_SCCS */
/*
- * Find the first occurence of c in the string cp.
+ * Find the first occurrence of c in the string cp.
* Return pointer to match or null pointer.
*
* char *
diff --git a/lib/libc/gen/nlist.c b/lib/libc/gen/nlist.c
index 4c541381c15..6f596d069d4 100644
--- a/lib/libc/gen/nlist.c
+++ b/lib/libc/gen/nlist.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: nlist.c,v 1.42 2002/06/11 06:39:47 art Exp $";
+static char rcsid[] = "$OpenBSD: nlist.c,v 1.43 2003/03/10 04:02:49 david Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -284,7 +284,7 @@ __elf_is_okay__(ehdr)
* We need to check magic, class size, endianess,
* and version before we look at the rest of the
* Elf_Ehdr structure. These few elements are
- * represented in a machine independant fashion.
+ * represented in a machine independent fashion.
*/
if ((IS_ELF(*ehdr) || IS_OLF(*ehdr)) &&
ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS &&