diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-20 17:42:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-20 17:42:51 +0000 |
commit | 9194aaad298f29e6bd39b2e61b61cd38a9b80a16 (patch) | |
tree | a72732e10b2ea798dbe4848ab0394eea23a92be1 /usr.bin/xlint/lint2/chk.c | |
parent | 2d3ff7614dff2c02b923d828ca4d6f0e6141bd1a (diff) |
spacing
Diffstat (limited to 'usr.bin/xlint/lint2/chk.c')
-rw-r--r-- | usr.bin/xlint/lint2/chk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/xlint/lint2/chk.c b/usr.bin/xlint/lint2/chk.c index 6b97dc5fa11..c9af43571cf 100644 --- a/usr.bin/xlint/lint2/chk.c +++ b/usr.bin/xlint/lint2/chk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chk.c,v 1.9 2005/11/20 17:09:55 cloder Exp $ */ +/* $OpenBSD: chk.c,v 1.10 2005/11/20 17:42:50 deraadt Exp $ */ /* $NetBSD: chk.c,v 1.2 1995/07/03 21:24:42 cgd Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: chk.c,v 1.9 2005/11/20 17:09:55 cloder Exp $"; +static char rcsid[] = "$OpenBSD: chk.c,v 1.10 2005/11/20 17:42:50 deraadt Exp $"; #endif #include <stdlib.h> @@ -266,7 +266,7 @@ chkdnud(hte_t *hte) if (hte->h_syms == NULL || hte->h_used || hte->h_def) return; - + if ((sym = hte->h_syms) != NULL) { if (sym->s_def != DECL) errx(1, "internal error: chkdnud() 1"); @@ -928,7 +928,7 @@ scanflike(hte_t *hte, fcall_t *call, int n, const char *fmt, type_t **ap) noasgn = 1; fc = *fp++; } - + if (isdigit(fc)) { fwidth = 1; do { fc = *fp++; } while (isdigit(fc)); @@ -1280,7 +1280,7 @@ eqtype(type_t *tp1, type_t *tp2, int ignqual, int promot, int asgn, int *warn) if (indir == 1 && (t == VOID || tp2->t_tspec == VOID)) return (1); } - + if (t != tp2->t_tspec) { /* * Give pointer to types which differ only in |