diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-08 07:18:52 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-08 07:18:52 +0000 |
commit | b9090b32b151b4c468b823b982594e83a0921fe9 (patch) | |
tree | 5447bc74af39f544df5645df816e1a2827336009 /usr.bin/xlint/lint1/err.c | |
parent | 4601e2a18312aa0a1106f5d2a3628d51c2acf4c0 (diff) |
some cleanup including:
o typos in comments
o missing #include
o remove pointless nomem() func
o unused variables
o more use of asprintf(3)
ok deraadt@
Diffstat (limited to 'usr.bin/xlint/lint1/err.c')
-rw-r--r-- | usr.bin/xlint/lint1/err.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/xlint/lint1/err.c b/usr.bin/xlint/lint1/err.c index 33e5ebb17de..fc464fc6205 100644 --- a/usr.bin/xlint/lint1/err.c +++ b/usr.bin/xlint/lint1/err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: err.c,v 1.18 2006/01/16 22:16:14 espie Exp $ */ +/* $OpenBSD: err.c,v 1.19 2006/03/08 07:18:51 moritz Exp $ */ /* $NetBSD: err.c,v 1.8 1995/10/02 17:37:00 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: err.c,v 1.18 2006/01/16 22:16:14 espie Exp $"; +static char rcsid[] = "$OpenBSD: err.c,v 1.19 2006/03/08 07:18:51 moritz Exp $"; #endif /* number of errors found */ @@ -44,6 +44,7 @@ int sytxerr; #include <stdlib.h> #include <stdarg.h> +#include <err.h> #include "lint1.h" |