diff options
author | imp <imp@FreeBSD.org> | 2008-04-03 20:36:44 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-04-03 20:36:44 +0000 |
commit | cc89dca5caba3445279f6105a2f8728d47130b66 (patch) | |
tree | f814d7dd4bec40ea2aa3428cb9465ffd905c9722 /lib/libc/gen | |
parent | d7131d4a77fa5af4d387a1aba74d8cc4d74bfe3d (diff) | |
download | FreeBSD-src-cc89dca5caba3445279f6105a2f8728d47130b66.zip FreeBSD-src-cc89dca5caba3445279f6105a2f8728d47130b66.tar.gz |
Minor style(9) nit: move to using ANSI definition of functions.
Diffstat (limited to 'lib/libc/gen')
-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 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); |