diff options
| author | Warner Losh <imp@FreeBSD.org> | 2008-04-03 20:36:44 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2008-04-03 20:36:44 +0000 |
| commit | 22e5baf782bdefc3fb2782201d7b9907aa4290de (patch) | |
| tree | f814d7dd4bec40ea2aa3428cb9465ffd905c9722 /lib/libc/gen/err.c | |
| parent | 15898edac1b3d5f26954ab87ba9d5cd46f3e004f (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/err.c')
| -rw-r--r-- | lib/libc/gen/err.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c index cf4d0f0e8df4..0ba584cf0cb2 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); |
