diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2007-09-06 22:02:04 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2007-09-06 22:02:04 +0000 |
commit | 03289d9a07ed0cd71d22953dc1e8589b9f15f59d (patch) | |
tree | 0cb341d4f2ee40a0b8941f7dc8d76770c108489e | |
parent | 7488286083399a10a09ab458cd029ad113ba06c3 (diff) |
Fix typos in comments. No code changes
-rw-r--r-- | usr.bin/xlint/lint1/func.c | 6 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/mem1.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/xlint/lint1/func.c b/usr.bin/xlint/lint1/func.c index 3b90b1d417e..1afbaf56430 100644 --- a/usr.bin/xlint/lint1/func.c +++ b/usr.bin/xlint/lint1/func.c @@ -1,4 +1,4 @@ -/* $OpenBSD: func.c,v 1.18 2006/05/29 20:47:22 cloder Exp $ */ +/* $OpenBSD: func.c,v 1.19 2007/09/06 22:02:03 cloder 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.18 2006/05/29 20:47:22 cloder Exp $"; +static char rcsid[] = "$OpenBSD: func.c,v 1.19 2007/09/06 22:02:03 cloder Exp $"; #endif #include <stdlib.h> @@ -660,7 +660,7 @@ switch2(void) if (cstk->c_break) { /* - * end of switch alway reached (c_break is only set if the + * end of switch always reached (c_break is only set if the * break statement can be reached). */ reached = 1; diff --git a/usr.bin/xlint/lint1/mem1.c b/usr.bin/xlint/lint1/mem1.c index d31bdabfb9d..c948ed5e374 100644 --- a/usr.bin/xlint/lint1/mem1.c +++ b/usr.bin/xlint/lint1/mem1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem1.c,v 1.10 2006/03/08 07:18:51 moritz Exp $ */ +/* $OpenBSD: mem1.c,v 1.11 2007/09/06 22:02:03 cloder Exp $ */ /* $NetBSD: mem1.c,v 1.2 1995/07/03 21:24:25 cgd Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: mem1.c,v 1.10 2006/03/08 07:18:51 moritz Exp $"; +static char rcsid[] = "$OpenBSD: mem1.c,v 1.11 2007/09/06 22:02:03 cloder Exp $"; #endif #include <sys/types.h> @@ -129,8 +129,8 @@ getfnid(const char *s) /* * Memory for declarations and other things which must be available * until the end of a block (or the end of the translation unit) - * are assoziated with the level (mblklev) of the block (or wiht 0). - * Because these memory is allocated in large blocks associated with + * are associated with the level (mblklev) of the block (or with 0). + * Because this memory is allocated in large blocks associated with * a given level it can be freed easily at the end of a block. */ #define ML_INC ((size_t)32) /* Increment for length of *mblks */ |