Change private version of verr() to __verr() and make it static to

avoid potential clash with library function of the same name.
This commit is contained in:
Bill Paul 1996-01-26 18:20:56 +00:00
parent 16cf781eed
commit ce5b7be823
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13640

View File

@ -34,7 +34,7 @@
* error logging/reporting facilities
* stolen from /usr/libexec/mail.local via ypserv
*
* $Id: yp_error.c,v 1.2 1995/12/06 16:02:56 wpaul Exp $
* $Id: yp_error.c,v 1.1.1.1 1995/12/16 20:54:17 wpaul Exp $
*/
#include <stdio.h>
@ -52,7 +52,7 @@ extern char *progname;
#include <varargs.h>
#endif
void verr(fmt, ap)
static void __verr(fmt, ap)
const char *fmt;
_BSD_VA_LIST_ ap;
@ -81,6 +81,6 @@ yp_error(fmt, va_list)
#else
va_start(ap);
#endif
verr(fmt,ap);
__verr(fmt,ap);
va_end(ap);
}