summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/err.c')
-rw-r--r--lib/libc/gen/err.c24
1 files changed, 5 insertions, 19 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index cf4d0f0..0ba584c 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -97,11 +97,7 @@ errc(int eval, int code, const char *fmt, ...)
}
void
-verrc(eval, code, fmt, ap)
- int eval;
- int code;
- const char *fmt;
- va_list ap;
+verrc(int eval, int code, const char *fmt, va_list ap)
{
if (err_file == 0)
err_set_file((FILE *)0);
@@ -126,10 +122,7 @@ errx(int eval, const char *fmt, ...)
}
void
-verrx(eval, fmt, ap)
- int eval;
- const char *fmt;
- va_list ap;
+verrx(int eval, const char *fmt, va_list ap)
{
if (err_file == 0)
err_set_file((FILE *)0);
@@ -154,9 +147,7 @@ _warn(const char *fmt, ...)
}
void
-vwarn(fmt, ap)
- const char *fmt;
- va_list ap;
+vwarn(const char *fmt, va_list ap)
{
vwarnc(errno, fmt, ap);
}
@@ -171,10 +162,7 @@ warnc(int code, const char *fmt, ...)
}
void
-vwarnc(code, fmt, ap)
- int code;
- const char *fmt;
- va_list ap;
+vwarnc(int code, const char *fmt, va_list ap)
{
if (err_file == 0)
err_set_file((FILE *)0);
@@ -196,9 +184,7 @@ warnx(const char *fmt, ...)
}
void
-vwarnx(fmt, ap)
- const char *fmt;
- va_list ap;
+vwarnx(const char *fmt, va_list ap)
{
if (err_file == 0)
err_set_file((FILE *)0);
OpenPOWER on IntegriCloud