From 1d08a87aa833b3d6ae0c14e404cff3cffbb07738 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sun, 16 Oct 2016 19:12:22 +0000 Subject: [PATCH] Reference the libc symbols ypresp_{allfn,data} instead of local symbols. This fixes a regression introduced in r285926. PR: 213506 MFC after: 3 days --- libexec/ypxfr/ypxfr_getmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/ypxfr/ypxfr_getmap.c b/libexec/ypxfr/ypxfr_getmap.c index 458971f893c5..1bde10efe3d4 100644 --- a/libexec/ypxfr/ypxfr_getmap.c +++ b/libexec/ypxfr/ypxfr_getmap.c @@ -43,8 +43,8 @@ __FBSDID("$FreeBSD$"); extern bool_t xdr_ypresp_all_seq(XDR *, unsigned long *); -static int (*ypresp_allfn)(); -static void *ypresp_data; +extern int (*ypresp_allfn)(); +extern void *ypresp_data; extern DB *specdbp; extern enum ypstat yp_errno;