summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-11-08 19:17:31 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-11-08 19:17:31 +0000
commitf0f3a0c6fbdf3bbd095d37a8fd2e0d0c250f8a21 (patch)
treef9bafe25867d0323af89776288c80edb6b30c09c /usr.bin/xlint
parent01ff1e7438b7bc934d05a03ca72d57c3e5484fab (diff)
typos from Jonathon Gray;
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/cgram.y6
-rw-r--r--usr.bin/xlint/lint1/decl.c6
-rw-r--r--usr.bin/xlint/lint2/emit2.c6
-rw-r--r--usr.bin/xlint/lint2/read.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/xlint/lint1/cgram.y b/usr.bin/xlint/lint1/cgram.y
index 9a7d5237a7d..83e81ccb118 100644
--- a/usr.bin/xlint/lint1/cgram.y
+++ b/usr.bin/xlint/lint1/cgram.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: cgram.y,v 1.4 2002/02/16 21:27:59 millert Exp $ */
+/* $OpenBSD: cgram.y,v 1.5 2003/11/08 19:17:29 jmc Exp $ */
/* $NetBSD: cgram.y,v 1.8 1995/10/02 17:31:35 jpo Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: cgram.y,v 1.4 2002/02/16 21:27:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: cgram.y,v 1.5 2003/11/08 19:17:29 jmc Exp $";
#endif
#include <stdlib.h>
@@ -1442,7 +1442,7 @@ expr:
term:
T_NAME {
- /* XXX realy neccessary? */
+ /* XXX really necessary? */
if (yychar < 0)
yychar = yylex();
$$ = getnnode(getsym($1), yychar);
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c
index 21f10176ae2..1592ac08245 100644
--- a/usr.bin/xlint/lint1/decl.c
+++ b/usr.bin/xlint/lint1/decl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: decl.c,v 1.7 2002/02/16 21:27:59 millert Exp $ */
+/* $OpenBSD: decl.c,v 1.8 2003/11/08 19:17:29 jmc 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.7 2002/02/16 21:27:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: decl.c,v 1.8 2003/11/08 19:17:29 jmc Exp $";
#endif
#include <sys/param.h>
@@ -1490,7 +1490,7 @@ dname(sym)
* XXX somewhat ugly because we dont know whether
* this is AUTO or EXTERN (functions). If we are
* wrong it must be corrected in decl1loc(), where
- * we have the neccessary type information.
+ * we have the necessary type information.
*/
sc = AUTO;
sym->s_def = DEF;
diff --git a/usr.bin/xlint/lint2/emit2.c b/usr.bin/xlint/lint2/emit2.c
index 8806f7a5ffd..290fc0868a8 100644
--- a/usr.bin/xlint/lint2/emit2.c
+++ b/usr.bin/xlint/lint2/emit2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emit2.c,v 1.3 2002/02/16 21:27:59 millert Exp $ */
+/* $OpenBSD: emit2.c,v 1.4 2003/11/08 19:17:29 jmc Exp $ */
/* $NetBSD: emit2.c,v 1.2 1995/07/03 21:24:44 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: emit2.c,v 1.3 2002/02/16 21:27:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: emit2.c,v 1.4 2003/11/08 19:17:29 jmc Exp $";
#endif
#include <err.h>
@@ -192,7 +192,7 @@ dumpname(hte)
/*
* If there is a definition, write it. Otherwise write a tentative
- * definition. This is neccessary because more than one tentative
+ * definition. This is necessary because more than one tentative
* definition is allowed (except with sflag).
*/
def = NULL;
diff --git a/usr.bin/xlint/lint2/read.c b/usr.bin/xlint/lint2/read.c
index 83439799396..5df2e4cffe4 100644
--- a/usr.bin/xlint/lint2/read.c
+++ b/usr.bin/xlint/lint2/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.5 2002/02/19 19:39:39 millert Exp $ */
+/* $OpenBSD: read.c,v 1.6 2003/11/08 19:17:29 jmc Exp $ */
/* $NetBSD: read.c,v 1.2 1995/07/03 21:24:59 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: read.c,v 1.5 2002/02/19 19:39:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: read.c,v 1.6 2003/11/08 19:17:29 jmc Exp $";
#endif
#include <stdio.h>
@@ -220,7 +220,7 @@ setsrc(cp)
/*
* setfnid() gets as input an index as used in an input file and the
- * associated file name. If neccessary, it creates a new lint2 file
+ * associated file name. If necessary, it creates a new lint2 file
* name index for this file name and creates the mapping of the index
* as used in the input file to the index used in lint2.
*/