about summary refs log tree commit diff
path: root/sunrpc/xdr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-30 16:42:19 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-30 16:42:19 +0000
commit5713a71e1aeb46a2f9774b7a17c4236fca1cab02 (patch)
tree85be2eb29c0018dc78d16e5dff9ab1edb4b4369a /sunrpc/xdr.c
parent348ed5157bb4b6ef0e38f18ab8fd8d9910544e6e (diff)
downloadglibc-5713a71e1aeb46a2f9774b7a17c4236fca1cab02.tar.gz
glibc-5713a71e1aeb46a2f9774b7a17c4236fca1cab02.tar.xz
glibc-5713a71e1aeb46a2f9774b7a17c4236fca1cab02.zip
Update.
1998-11-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/Makefile: Add xdr_intXX_t to routines.
	* sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
	  xdr_uint16_t.
	* sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
	* sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
	* sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.

	* nis/Depend: New.
	* nis/nss_nis/nis-service.c: Include generated prototype for parser.
Diffstat (limited to 'sunrpc/xdr.c')
-rw-r--r--sunrpc/xdr.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index 0e3e5fc63a..57552c4427 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -152,45 +152,6 @@ xdr_u_int (XDR *xdrs, u_int *up)
 }
 
 /*
- * XDR 32bit integers
- */
-bool_t
-xdr_int32_t (XDR *xdrs, int32_t *lp)
-{
-
-  if (xdrs->x_op == XDR_ENCODE)
-    return XDR_PUTINT32 (xdrs, lp);
-
-  if (xdrs->x_op == XDR_DECODE)
-    return XDR_GETINT32 (xdrs, lp);
-
-  if (xdrs->x_op == XDR_FREE)
-    return TRUE;
-
-  return FALSE;
-}
-
-/*
- * XDR 32bit unsigned integers
- */
-bool_t
-xdr_uint32_t (XDR *xdrs, uint32_t *ulp)
-{
-  switch (xdrs->x_op)
-    {
-    case XDR_DECODE:
-      return XDR_GETINT32 (xdrs, (uint32_t *) ulp);
-
-    case XDR_ENCODE:
-      return XDR_PUTINT32 (xdrs, (uint32_t *) ulp);
-
-    case XDR_FREE:
-      return TRUE;
-    }
-  return FALSE;
-}
-
-/*
  * XDR long integers
  * same as xdr_u_long - open coded to save a proc call!
  */