Minor style(9) nit: move to using ANSI definition of functions.

This commit is contained in:
Warner Losh 2008-04-03 20:36:44 +00:00
parent 15898edac1
commit 22e5baf782
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177893

View File

@ -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);