Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 19:12:22 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307398 - head/libexec/ypxfr
Message-ID:  <201610161912.u9GJCMug027570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610161912.u9GJCMug027570>