don't use the weak names directly, so that the compat code works.
This commit is contained in:
parent
1873c5428a
commit
95a8d0876b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: err.c,v 1.24 2005/09/13 01:44:09 christos Exp $ */
|
||||
/* $NetBSD: err.c,v 1.25 2005/09/13 13:51:50 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: err.c,v 1.24 2005/09/13 01:44:09 christos Exp $");
|
||||
__RCSID("$NetBSD: err.c,v 1.25 2005/09/13 13:51:50 christos Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -56,6 +56,6 @@ err(int eval, const char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
_verr(eval, fmt, ap);
|
||||
verr(eval, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: errx.c,v 1.12 2005/09/13 01:44:09 christos Exp $ */
|
||||
/* $NetBSD: errx.c,v 1.13 2005/09/13 13:51:50 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: errx.c,v 1.12 2005/09/13 01:44:09 christos Exp $");
|
||||
__RCSID("$NetBSD: errx.c,v 1.13 2005/09/13 13:51:50 christos Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -56,6 +56,6 @@ errx(int eval, const char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
_verrx(eval, fmt, ap);
|
||||
verrx(eval, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: warn.c,v 1.12 2005/09/13 01:44:09 christos Exp $ */
|
||||
/* $NetBSD: warn.c,v 1.13 2005/09/13 13:51:50 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: warn.c,v 1.12 2005/09/13 01:44:09 christos Exp $");
|
||||
__RCSID("$NetBSD: warn.c,v 1.13 2005/09/13 13:51:50 christos Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -56,6 +56,6 @@ warn(const char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
_vwarn(fmt, ap);
|
||||
vwarn(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: warnx.c,v 1.12 2005/09/13 01:44:09 christos Exp $ */
|
||||
/* $NetBSD: warnx.c,v 1.13 2005/09/13 13:51:50 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
@ -38,7 +38,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: warnx.c,v 1.12 2005/09/13 01:44:09 christos Exp $");
|
||||
__RCSID("$NetBSD: warnx.c,v 1.13 2005/09/13 13:51:50 christos Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -56,6 +56,6 @@ warnx(const char *fmt, ...)
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
_vwarnx(fmt, ap);
|
||||
vwarnx(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user