summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-12-23 18:15:41 +0000
committerwpaul <wpaul@FreeBSD.org>1996-12-23 18:15:41 +0000
commitfbe1d95900b9b907b1f9f205ba57737634901f4a (patch)
tree679170db24d2ff702f5efa77380939d8fe595c36 /libexec/ypxfr
parentf5a25d1ebd485a6e9421a561cfac117c90e78a05 (diff)
downloadFreeBSD-src-fbe1d95900b9b907b1f9f205ba57737634901f4a.zip
FreeBSD-src-fbe1d95900b9b907b1f9f205ba57737634901f4a.tar.gz
Change declaration of yp_errno from int to enum ypstat so that it
matches what's in ypserv/yp_extern.h (which I changed when I added the async DNS stuff). The conflict broke the build of rpc.yppasswdd. Pointed out by: bde
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r--libexec/ypxfr/ypxfr_extern.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ypxfr/ypxfr_extern.h b/libexec/ypxfr/ypxfr_extern.h
index f826499..c1f2182 100644
--- a/libexec/ypxfr/ypxfr_extern.h
+++ b/libexec/ypxfr/ypxfr_extern.h
@@ -29,12 +29,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ypxfr_extern.h,v 1.7 1996/06/03 03:10:42 wpaul Exp wpaul $
+ * $Id: ypxfr_extern.h,v 1.3 1996/10/25 16:13:04 wpaul Exp $
*/
#include <sys/types.h>
#include <limits.h>
#include <paths.h>
#include <db.h>
+#include <rpcsvc/yp.h>
extern HASHINFO openinfo;
extern BTREEINFO openinfo_b;
@@ -45,7 +46,7 @@ extern BTREEINFO openinfo_b;
extern char *yp_dir;
extern int debug;
-extern int yp_errno;
+extern enum ypstat yp_errno;
extern void yp_error __P(( const char *, ... ));
extern int _yp_check __P(( char ** ));
extern char *ypxfrerr_string __P(( ypxfrstat ));
OpenPOWER on IntegriCloud