summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-01-26 18:20:56 +0000
committerwpaul <wpaul@FreeBSD.org>1996-01-26 18:20:56 +0000
commit4e8cc969b8e9225007545d12091e222509e51e35 (patch)
tree64819e40046c7e8bc4b9ac868b03620c0f9b34b6 /usr.sbin/ypserv
parenteca177916686ec04dd6cd9e1b64d45c5a3a03684 (diff)
downloadFreeBSD-src-4e8cc969b8e9225007545d12091e222509e51e35.zip
FreeBSD-src-4e8cc969b8e9225007545d12091e222509e51e35.tar.gz
Change private version of verr() to __verr() and make it static to
avoid potential clash with library function of the same name.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/yp_error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/yp_error.c b/usr.sbin/ypserv/yp_error.c
index bb5e632..81ba529 100644
--- a/usr.sbin/ypserv/yp_error.c
+++ b/usr.sbin/ypserv/yp_error.c
@@ -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);
}
OpenPOWER on IntegriCloud