summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2011-05-30 15:15:58 +0000
committermartynas <martynas@openbsd.org>2011-05-30 15:15:58 +0000
commit5b69ea4cad36545c73676d32f76399621d9d0682 (patch)
tree2cbf163c5dde4666f5e4c537fd860a542fbcfd28
parentApply sendmail 8.14.5 errata 2011-05-26 patch. (diff)
downloadwireguard-openbsd-5b69ea4cad36545c73676d32f76399621d9d0682.tar.xz
wireguard-openbsd-5b69ea4cad36545c73676d32f76399621d9d0682.zip
Typos: "in in", "prototyp".
-rw-r--r--usr.bin/xlint/lint1/decl.c6
-rw-r--r--usr.bin/xlint/lint1/func.c6
-rw-r--r--usr.bin/xlint/lint1/lint1.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c
index 25bac2d07f2..bf0148c0753 100644
--- a/usr.bin/xlint/lint1/decl.c
+++ b/usr.bin/xlint/lint1/decl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: decl.c,v 1.26 2010/07/27 20:07:56 guenther Exp $ */
+/* $OpenBSD: decl.c,v 1.27 2011/05/30 15:15:58 martynas Exp $ */
/* $NetBSD: decl.c,v 1.11 1995/10/02 17:34:16 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: decl.c,v 1.26 2010/07/27 20:07:56 guenther Exp $";
+static char rcsid[] = "$OpenBSD: decl.c,v 1.27 2011/05/30 15:15:58 martynas Exp $";
#endif
#include <sys/param.h>
@@ -1891,7 +1891,7 @@ decl1ext(sym_t *dsym, int initflg)
if (plibflg && llibflg &&
dsym->s_type->t_tspec == FUNC && dsym->s_type->t_proto) {
/*
- * With both LINTLIBRARY and PROTOLIB the prototyp is
+ * With both LINTLIBRARY and PROTOLIB the prototype is
* written as a function definition to the output file.
*/
rval = dsym->s_type->t_subt->t_tspec != VOID;
diff --git a/usr.bin/xlint/lint1/func.c b/usr.bin/xlint/lint1/func.c
index 535c7c96d1a..ae103927f56 100644
--- a/usr.bin/xlint/lint1/func.c
+++ b/usr.bin/xlint/lint1/func.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: func.c,v 1.20 2007/10/17 20:10:44 chl Exp $ */
+/* $OpenBSD: func.c,v 1.21 2011/05/30 15:15:58 martynas Exp $ */
/* $NetBSD: func.c,v 1.7 1995/10/02 17:31:40 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: func.c,v 1.20 2007/10/17 20:10:44 chl Exp $";
+static char rcsid[] = "$OpenBSD: func.c,v 1.21 2011/05/30 15:15:58 martynas Exp $";
#endif
#include <stdlib.h>
@@ -347,7 +347,7 @@ funcdef(sym_t *fsym)
if (fsym->s_osdef && !fsym->s_type->t_proto) {
if (sflag && hflag && strcmp(fsym->s_name, "main") != 0)
- /* function definition is not a prototyp */
+ /* function definition is not a prototype */
warning(286);
}
diff --git a/usr.bin/xlint/lint1/lint1.h b/usr.bin/xlint/lint1/lint1.h
index 39f24fe9ad7..780b0913412 100644
--- a/usr.bin/xlint/lint1/lint1.h
+++ b/usr.bin/xlint/lint1/lint1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lint1.h,v 1.14 2010/07/24 22:17:03 guenther Exp $ */
+/* $OpenBSD: lint1.h,v 1.15 2011/05/30 15:15:58 martynas Exp $ */
/* $NetBSD: lint1.h,v 1.6 1995/10/02 17:31:41 jpo Exp $ */
/*
@@ -314,7 +314,7 @@ typedef struct dinfo {
u_int d_mscl : 1; /* multiple storage classes */
u_int d_terr : 1; /* invalid type combination */
u_int d_nedecl : 1; /* 1 if at least a tag is declared */
- u_int d_vararg : 1; /* ... in in current function decl. */
+ u_int d_vararg : 1; /* ... in current function decl. */
u_int d_proto : 1; /* current funct. decl. is prototype */
u_int d_notyp : 1; /* set if no type specifier was present */
u_int d_asm : 1; /* set if d_ctx == AUTO and asm() present */