svn commit: r307398 - head/libexec/ypxfr

Mark Johnston markj at FreeBSD.org
Sun Oct 16 19:12:23 UTC 2016


Author: markj
Date: Sun Oct 16 19:12:22 2016
New Revision: 307398
URL: https://svnweb.freebsd.org/changeset/base/307398

Log:
  Reference the libc symbols ypresp_{allfn,data} instead of local symbols.
  
  This fixes a regression introduced in r285926.
  
  PR:		213506
  MFC after:	3 days

Modified:
  head/libexec/ypxfr/ypxfr_getmap.c

Modified: head/libexec/ypxfr/ypxfr_getmap.c
==============================================================================
--- head/libexec/ypxfr/ypxfr_getmap.c	Sun Oct 16 18:49:15 2016	(r307397)
+++ head/libexec/ypxfr/ypxfr_getmap.c	Sun Oct 16 19:12:22 2016	(r307398)
@@ -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;
 


More information about the svn-src-head mailing list