summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/xdr.c')
-rw-r--r--libc/inet/rpc/xdr.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c
index f76cc6a88..78f4d04ba 100644
--- a/libc/inet/rpc/xdr.c
+++ b/libc/inet/rpc/xdr.c
@@ -53,11 +53,8 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
#ifdef USE_IN_LIBIO
# include <wchar.h>
-/* libc_hidden_proto(fwprintf) */
#endif
-/* Experimentally off - libc_hidden_proto(strlen) */
-/* libc_hidden_proto(fputs) */
/*
* constants specific to the xdr "protocol"
@@ -87,7 +84,6 @@ xdr_free (xdrproc_t proc, char *objp)
/*
* XDR nothing
*/
-/* libc_hidden_proto(xdr_void) */
bool_t
xdr_void (void)
{
@@ -100,7 +96,6 @@ libc_hidden_def(xdr_void)
* The definition of xdr_long() is kept for backward
* compatibility. Instead xdr_int() should be used.
*/
-/* libc_hidden_proto(xdr_long) */
bool_t
xdr_long (XDR *xdrs, long *lp)
{
@@ -122,7 +117,6 @@ libc_hidden_def(xdr_long)
/*
* XDR short integers
*/
-/* libc_hidden_proto(xdr_short) */
bool_t
xdr_short (XDR *xdrs, short *sp)
{
@@ -152,7 +146,6 @@ libc_hidden_def(xdr_short)
/*
* XDR integers
*/
-/* libc_hidden_proto(xdr_int) */
bool_t
xdr_int (XDR *xdrs, int *ip)
{
@@ -191,7 +184,6 @@ libc_hidden_def(xdr_int)
* The definition of xdr_u_long() is kept for backward
* compatibility. Instead xdr_u_int() should be used.
*/
-/* libc_hidden_proto(xdr_u_long) */
bool_t
xdr_u_long (XDR *xdrs, u_long *ulp)
{
@@ -225,7 +217,6 @@ libc_hidden_def(xdr_u_long)
/*
* XDR unsigned integers
*/
-/* libc_hidden_proto(xdr_u_int) */
bool_t
xdr_u_int (XDR *xdrs, u_int *up)
{
@@ -262,7 +253,6 @@ libc_hidden_def(xdr_u_int)
* XDR hyper integers
* same as xdr_u_hyper - open coded to save a proc call!
*/
-/* libc_hidden_proto(xdr_hyper) */
bool_t
xdr_hyper (XDR *xdrs, quad_t *llp)
{
@@ -298,7 +288,6 @@ libc_hidden_def(xdr_hyper)
* XDR hyper integers
* same as xdr_hyper - open coded to save a proc call!
*/
-/* libc_hidden_proto(xdr_u_hyper) */
bool_t
xdr_u_hyper (XDR *xdrs, u_quad_t *ullp)
{
@@ -343,7 +332,6 @@ xdr_u_longlong_t (XDR *xdrs, u_quad_t *ullp)
/*
* XDR unsigned short integers
*/
-/* libc_hidden_proto(xdr_u_short) */
bool_t
xdr_u_short (XDR *xdrs, u_short *usp)
{
@@ -408,7 +396,6 @@ xdr_u_char (XDR *xdrs, u_char *cp)
/*
* XDR booleans
*/
-/* libc_hidden_proto(xdr_bool) */
bool_t
xdr_bool (XDR *xdrs, bool_t *bp)
{
@@ -438,7 +425,6 @@ libc_hidden_def(xdr_bool)
/*
* XDR enumerations
*/
-/* libc_hidden_proto(xdr_enum) */
bool_t
xdr_enum (XDR *xdrs, enum_t *ep)
{
@@ -492,7 +478,6 @@ libc_hidden_def(xdr_enum)
* Allows the specification of a fixed size sequence of opaque bytes.
* cp points to the opaque object and cnt gives the byte length.
*/
-/* libc_hidden_proto(xdr_opaque) */
bool_t
xdr_opaque (XDR *xdrs, caddr_t cp, u_int cnt)
{
@@ -544,7 +529,6 @@ libc_hidden_def(xdr_opaque)
* *cpp is a pointer to the bytes, *sizep is the count.
* If *cpp is NULL maxsize bytes are allocated
*/
-/* libc_hidden_proto(xdr_bytes) */
bool_t
xdr_bytes (XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize)
{
@@ -628,7 +612,6 @@ xdr_netobj (xdrs, np)
* routine may be called.
* If there is no specific or default routine an error is returned.
*/
-/* libc_hidden_proto(xdr_union) */
bool_t
xdr_union (XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault)
{
@@ -675,7 +658,6 @@ libc_hidden_def(xdr_union)
* storage is allocated. The last parameter is the max allowed length
* of the string as specified by a protocol.
*/
-/* libc_hidden_proto(xdr_string) */
bool_t
xdr_string (XDR *xdrs, char **cpp, u_int maxsize)
{