diff options
author | Mike Harsch <mike@harschsystems.com> | 2012-10-22 16:45:41 -0600 |
---|---|---|
committer | Mike Harsch <mike@harschsystems.com> | 2012-10-22 16:45:41 -0600 |
commit | a2e122452f57c90a1d4750155f18bc79cd508d58 (patch) | |
tree | c4b94ad8aa1b391ec44a69cc3c5f0ff97cb9e71b | |
parent | dfb9587ea397fcdca0c69732624a2ed84062c7de (diff) | |
download | libnvpair-a2e122452f57c90a1d4750155f18bc79cd508d58.tar.gz |
comment out xdr stuff
-rw-r--r-- | nvpair.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -29,8 +29,8 @@ #include <sys/int_limits.h> #include "nvpair.h" #include "nvpair_impl.h" -#include <rpc/types.h> -#include <rpc/xdr.h> +//#include <rpc/types.h> +//#include <rpc/xdr.h> #if defined(_KERNEL) && !defined(_BOOT) #include <sys/varargs.h> @@ -2242,7 +2242,7 @@ nvs_embedded_nvl_array(nvstream_t *nvs, nvpair_t *nvp, size_t *size) } static int nvs_native(nvstream_t *, nvlist_t *, char *, size_t *); -static int nvs_xdr(nvstream_t *, nvlist_t *, char *, size_t *); +//static int nvs_xdr(nvstream_t *, nvlist_t *, char *, size_t *); /* * Common routine for nvlist operations: @@ -2319,9 +2319,9 @@ nvlist_common(nvlist_t *nvl, char *buf, size_t *buflen, int encoding, return (ENOTSUP); err = nvs_native(&nvs, nvl, buf, buflen); break; - case NV_ENCODE_XDR: - err = nvs_xdr(&nvs, nvl, buf, buflen); - break; +// case NV_ENCODE_XDR: +// err = nvs_xdr(&nvs, nvl, buf, buflen); +// break; default: err = ENOTSUP; break; @@ -2808,7 +2808,7 @@ nvs_native(nvstream_t *nvs, nvlist_t *nvl, char *buf, size_t *buflen) return (err); } - +#if 0 /* * XDR encoding functions * @@ -3295,3 +3295,4 @@ nvs_xdr(nvstream_t *nvs, nvlist_t *nvl, char *buf, size_t *buflen) return (err); } +#endif |