diff options
author | schweikh <schweikh@FreeBSD.org> | 2002-12-30 21:18:15 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2002-12-30 21:18:15 +0000 |
commit | 86f7487fb6a0b8dd9e3a699ad48d6e99504a67ff (patch) | |
tree | bd0234a8048c844b06483795cfb1fe4d34b68a4f /usr.bin/xlint | |
parent | 338583ff7c1145c5e2deba34aed769eb7998286c (diff) | |
download | FreeBSD-src-86f7487fb6a0b8dd9e3a699ad48d6e99504a67ff.zip FreeBSD-src-86f7487fb6a0b8dd9e3a699ad48d6e99504a67ff.tar.gz |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r-- | usr.bin/xlint/lint1/decl.c | 2 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/emit1.c | 3 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/init.c | 3 | ||||
-rw-r--r-- | usr.bin/xlint/lint1/tree.c | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c index e59fe67..6069bf5 100644 --- a/usr.bin/xlint/lint1/decl.c +++ b/usr.bin/xlint/lint1/decl.c @@ -3010,7 +3010,7 @@ glchksz(sym_t *sym) if (sym->s_def == TDEF) { if (sym->s_type->t_tspec == FUNC) /* - * this can happen if an syntax error occurred + * this can happen if a syntax error occurred * after a function declaration */ return; diff --git a/usr.bin/xlint/lint1/emit1.c b/usr.bin/xlint/lint1/emit1.c index fc47a84..e62549c 100644 --- a/usr.bin/xlint/lint1/emit1.c +++ b/usr.bin/xlint/lint1/emit1.c @@ -36,6 +36,7 @@ #if defined(__RCSID) && !defined(lint) __RCSID("$NetBSD: emit1.c,v 1.11 2002/01/31 19:36:54 tv Exp $"); #endif +__FBSDID("$FreeBSD$"); #include <ctype.h> @@ -207,7 +208,7 @@ outtt(sym_t *tag, sym_t *tdef) } /* - * write information about an global declared/defined symbol + * write information about a global declared/defined symbol * with storage class extern * * informations about function definitions are written in outfdef(), diff --git a/usr.bin/xlint/lint1/init.c b/usr.bin/xlint/lint1/init.c index 0fd0383..cf4cbdd 100644 --- a/usr.bin/xlint/lint1/init.c +++ b/usr.bin/xlint/lint1/init.c @@ -35,6 +35,7 @@ #if defined(__RCSID) && !defined(lint) __RCSID("$NetBSD: init.c,v 1.9 2001/09/18 18:15:54 wiz Exp $"); #endif +__FBSDID("$FreeBSD$"); #include <stdlib.h> @@ -171,7 +172,7 @@ pushinit(void) if (istk->i_type->t_tspec != ARRAY) lerror("pushinit() 2"); istk->i_type->t_dim++; - /* from now its an complete type */ + /* from now its a complete type */ setcompl(istk->i_type, 0); } diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c index edd61b0..cefbeb8 100644 --- a/usr.bin/xlint/lint1/tree.c +++ b/usr.bin/xlint/lint1/tree.c @@ -2023,7 +2023,7 @@ cvtcon(op_t op, int arg, type_t *tp, val_t *nv, val_t *v) * to be significant bits. Loss of significant bits * means that at least on of the bits was set in an * unsigned type or that at least one, but not all of - * the bits was set in an signed type. + * the bits was set in a signed type. * Loss of significant bits means that it is not * possible, also not with necessary casts, to convert * back to the original type. A example for a |