about summary refs log tree commit diff
path: root/nis/nis_cache2_xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_cache2_xdr.c')
-rw-r--r--nis/nis_cache2_xdr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nis/nis_cache2_xdr.c b/nis/nis_cache2_xdr.c
index b988f3f973..caa3964bca 100644
--- a/nis/nis_cache2_xdr.c
+++ b/nis/nis_cache2_xdr.c
@@ -5,14 +5,16 @@
 
 #include <rpc/types.h>
 #include <rpc/xdr.h>
+#include <rpcsvc/nis.h>
 
+#include "nis_xdr.h"
 #include "nis_cache2.h"
-#include <rpcsvc/nis.h>
+
 
 bool_t
 xdr_fs_result(XDR *xdrs, fs_result *objp)
 {
-	 if (!xdr_nis_error(xdrs, &objp->status)) {
+	 if (!_xdr_nis_error(xdrs, &objp->status)) {
 		 return FALSE;
 	 }
 	 if (!xdr_long(xdrs, &objp->class)) {
@@ -33,7 +35,7 @@ xdr_fs_result(XDR *xdrs, fs_result *objp)
 bool_t
 xdr_fs_request(XDR *xdrs, fs_request *objp)
 {
-	 if (!xdr_nis_name(xdrs, &objp->name)) {
+	 if (!_xdr_nis_name(xdrs, &objp->name)) {
 		 return FALSE;
 	 }
 	 if (!xdr_long(xdrs, &objp->old_class)) {