summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1/err.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-11-19 03:35:28 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-11-19 03:35:28 +0000
commit7e8cc4e9f085384c58adfef607bed4a9aae7ef31 (patch)
treed812af6ffe07b730540fadeb9762aa169e7d74e6 /usr.bin/xlint/lint1/err.c
parent4e00bfe9e4fce563a74dcd487149539b6bc02ba9 (diff)
knf. OK kjell, brad
Diffstat (limited to 'usr.bin/xlint/lint1/err.c')
-rw-r--r--usr.bin/xlint/lint1/err.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.bin/xlint/lint1/err.c b/usr.bin/xlint/lint1/err.c
index c071db931f6..666a3f83bdb 100644
--- a/usr.bin/xlint/lint1/err.c
+++ b/usr.bin/xlint/lint1/err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.c,v 1.5 2002/02/19 19:39:39 millert Exp $ */
+/* $OpenBSD: err.c,v 1.6 2005/11/19 03:35:27 cloder 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.5 2002/02/19 19:39:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: err.c,v 1.6 2005/11/19 03:35:27 cloder Exp $";
#endif
/* number of errors found */
@@ -370,8 +370,7 @@ const char *msgs[] = {
* component of the path, otherwise it returns the argument.
*/
static const char *
-basename(path)
- const char *path;
+basename(const char *path)
{
const char *cp, *cp1, *cp2;
@@ -389,9 +388,7 @@ basename(path)
}
static void
-verror(n, ap)
- int n;
- va_list ap;
+verror(int n, va_list ap)
{
const char *fn;
@@ -403,9 +400,7 @@ verror(n, ap)
}
static void
-vwarning(n, ap)
- int n;
- va_list ap;
+vwarning(int n, va_list ap)
{
const char *fn;