summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-09-19 10:58:09 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-09-19 10:58:09 +0000
commit069129fa3dc05a0a58ae70a73696d129ecfdfbef (patch)
tree443cca5dca37d3a0532829c41e46e95006b5a6b5 /usr.bin/xlint
parent6164249d06252e2101a730993f4440c8965e58da (diff)
occured->occurred
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/decl.c6
-rw-r--r--usr.bin/xlint/lint1/init.c6
-rw-r--r--usr.bin/xlint/lint1/tree.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c
index ef9c2f6434b..f2a54cb3c59 100644
--- a/usr.bin/xlint/lint1/decl.c
+++ b/usr.bin/xlint/lint1/decl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: decl.c,v 1.4 1998/07/29 03:14:48 millert Exp $ */
+/* $OpenBSD: decl.c,v 1.5 2001/09/19 10:58:07 mpech 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.4 1998/07/29 03:14:48 millert Exp $";
+static char rcsid[] = "$OpenBSD: decl.c,v 1.5 2001/09/19 10:58:07 mpech Exp $";
#endif
#include <sys/param.h>
@@ -3090,7 +3090,7 @@ glchksz(sym)
if (sym->s_def == TDEF) {
if (sym->s_type->t_tspec == FUNC)
/*
- * this can happen if an syntax error occured
+ * this can happen if an syntax error occurred
* after a function declaration
*/
return;
diff --git a/usr.bin/xlint/lint1/init.c b/usr.bin/xlint/lint1/init.c
index 6a8902dfee4..3d56f25c07c 100644
--- a/usr.bin/xlint/lint1/init.c
+++ b/usr.bin/xlint/lint1/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.2 1996/06/26 05:44:14 deraadt Exp $ */
+/* $OpenBSD: init.c,v 1.3 2001/09/19 10:58:07 mpech Exp $ */
/* $NetBSD: init.c,v 1.4 1995/10/02 17:21:37 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: init.c,v 1.2 1996/06/26 05:44:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: init.c,v 1.3 2001/09/19 10:58:07 mpech Exp $";
#endif
#include <stdlib.h>
@@ -41,7 +41,7 @@ static char rcsid[] = "$OpenBSD: init.c,v 1.2 1996/06/26 05:44:14 deraadt Exp $"
#include "lint1.h"
/*
- * initerr is set as soon as a fatal error occured in an initialisation.
+ * initerr is set as soon as a fatal error occurred in an initialisation.
* The effect is that the rest of the initialisation is ignored (parsed
* by yacc, expression trees built, but no initialisation takes place).
*/
diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c
index e9b3f3c475c..2ab3833ba4e 100644
--- a/usr.bin/xlint/lint1/tree.c
+++ b/usr.bin/xlint/lint1/tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tree.c,v 1.4 1998/07/29 03:14:50 millert Exp $ */
+/* $OpenBSD: tree.c,v 1.5 2001/09/19 10:58:07 mpech Exp $ */
/* $NetBSD: tree.c,v 1.12 1995/10/02 17:37:57 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tree.c,v 1.4 1998/07/29 03:14:50 millert Exp $";
+static char rcsid[] = "$OpenBSD: tree.c,v 1.5 2001/09/19 10:58:07 mpech Exp $";
#endif
#include <stdlib.h>
@@ -671,7 +671,7 @@ build(op, ln, rn)
break;
}
- /* Return if an error occured. */
+ /* Return if an error occurred. */
if (ntn == NULL)
return (NULL);