CVS commit: src/include/rpcsvc

2016-01-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Jan 22 23:23:13 UTC 2016

Modified Files:
src/include/rpcsvc: ypclnt.h

Log Message:
Uses BEGIN_DECLS and needs sys/cdefs.h.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/include/rpcsvc/ypclnt.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/rpcsvc/ypclnt.h
diff -u src/include/rpcsvc/ypclnt.h:1.14 src/include/rpcsvc/ypclnt.h:1.15
--- src/include/rpcsvc/ypclnt.h:1.14	Fri Mar  2 17:27:48 2012
+++ src/include/rpcsvc/ypclnt.h	Fri Jan 22 23:23:13 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ypclnt.h,v 1.14 2012/03/02 17:27:48 christos Exp $	*/
+/*	$NetBSD: ypclnt.h,v 1.15 2016/01/22 23:23:13 dholland Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993 Theo de Raadt 
@@ -29,6 +29,8 @@
 #ifndef _RPCSVC_YPCLNT_H_
 #define _RPCSVC_YPCLNT_H_
 
+#include 
+
 #define YPERR_BADARGS	1		/* args to function are bad */
 #define YPERR_RPC	2		/* RPC failure */
 #define YPERR_DOMAIN	3		/* can't bind to a server for domain */



CVS commit: src/include/rpcsvc

2016-01-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Jan 22 23:22:56 UTC 2016

Modified Files:
src/include/rpcsvc: yp_prot.h

Log Message:
Include  so XDR is defined.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/include/rpcsvc/yp_prot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/rpcsvc/yp_prot.h
diff -u src/include/rpcsvc/yp_prot.h:1.18 src/include/rpcsvc/yp_prot.h:1.19
--- src/include/rpcsvc/yp_prot.h:1.18	Wed Jan 23 17:27:35 2013
+++ src/include/rpcsvc/yp_prot.h	Fri Jan 22 23:22:56 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: yp_prot.h,v 1.18 2013/01/23 17:27:35 mbalmer Exp $	*/
+/*	$NetBSD: yp_prot.h,v 1.19 2016/01/22 23:22:56 dholland Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993 Theo de Raadt 
@@ -29,6 +29,8 @@
 #ifndef _RPCSVC_YP_PROT_H_
 #define _RPCSVC_YP_PROT_H_
 
+#include  /* for XDR */
+
 /*
  * YPSERV PROTOCOL:
  * 



CVS commit: src/include/rpcsvc

2013-01-23 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Wed Jan 23 17:27:35 UTC 2013

Modified Files:
src/include/rpcsvc: yp_prot.h

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/include/rpcsvc/yp_prot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/rpcsvc/yp_prot.h
diff -u src/include/rpcsvc/yp_prot.h:1.17 src/include/rpcsvc/yp_prot.h:1.18
--- src/include/rpcsvc/yp_prot.h:1.17	Sat Oct  6 16:17:34 2007
+++ src/include/rpcsvc/yp_prot.h	Wed Jan 23 17:27:35 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: yp_prot.h,v 1.17 2007/10/06 16:17:34 yamt Exp $	*/
+/*	$NetBSD: yp_prot.h,v 1.18 2013/01/23 17:27:35 mbalmer Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993 Theo de Raadt dera...@fsa.ca
@@ -287,7 +287,7 @@ struct yppushresp_xfr {
 #define YPPUSH_AGE	((unsigned int)2)	/* Master's version not newer */
 #define YPPUSH_NOMAP 	((unsigned int)-1)	/* Can't find server for map */
 #define YPPUSH_NODOM 	((unsigned int)-2)	/* Domain not supported */
-#define YPPUSH_RSRC 	((unsigned int)-3)	/* Local resouce alloc failure */
+#define YPPUSH_RSRC 	((unsigned int)-3)	/* Local resource alloc failure */
 #define YPPUSH_RPC 	((unsigned int)-4)	/* RPC failure talking to server */
 #define YPPUSH_MADDR	((unsigned int)-5)	/* Can't get master address */
 #define YPPUSH_YPERR 	((unsigned int)-6)	/* YP server/map db error */