summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_rec.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/inet/rpc/xdr_rec.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/inet/rpc/xdr_rec.c')
-rw-r--r--libc/inet/rpc/xdr_rec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c
index 429503cdc..76c9ba39c 100644
--- a/libc/inet/rpc/xdr_rec.c
+++ b/libc/inet/rpc/xdr_rec.c
@@ -147,6 +147,7 @@ static bool_t get_input_bytes (RECSTREAM *, caddr_t, int) internal_function;
* write respectively. They are like the system
* calls expect that they take an opaque handle rather than an fd.
*/
+libc_hidden_proto(xdrrec_create)
void
xdrrec_create (XDR *xdrs, u_int sendsize,
u_int recvsize, caddr_t tcp_handle,
@@ -209,7 +210,6 @@ xdrrec_create (XDR *xdrs, u_int sendsize,
rstrm->fbtbc = 0;
rstrm->last_frag = TRUE;
}
-libc_hidden_proto(xdrrec_create)
libc_hidden_def(xdrrec_create)
@@ -482,6 +482,7 @@ xdrrec_putint32 (XDR *xdrs, const int32_t *ip)
* Before reading (deserializing from the stream, one should always call
* this procedure to guarantee proper record alignment.
*/
+libc_hidden_proto(xdrrec_skiprecord)
bool_t
xdrrec_skiprecord (XDR *xdrs)
{
@@ -498,7 +499,6 @@ xdrrec_skiprecord (XDR *xdrs)
rstrm->last_frag = FALSE;
return TRUE;
}
-libc_hidden_proto(xdrrec_skiprecord)
libc_hidden_def(xdrrec_skiprecord)
/*
@@ -506,6 +506,7 @@ libc_hidden_def(xdrrec_skiprecord)
* Returns TRUE iff there is no more input in the buffer
* after consuming the rest of the current record.
*/
+libc_hidden_proto(xdrrec_eof)
bool_t
xdrrec_eof (XDR *xdrs)
{
@@ -523,7 +524,6 @@ xdrrec_eof (XDR *xdrs)
return TRUE;
return FALSE;
}
-libc_hidden_proto(xdrrec_eof)
libc_hidden_def(xdrrec_eof)
/*
@@ -532,6 +532,7 @@ libc_hidden_def(xdrrec_eof)
* (output) tcp stream. (This lets the package support batched or
* pipelined procedure calls.) TRUE => immediate flush to tcp connection.
*/
+libc_hidden_proto(xdrrec_endofrecord)
bool_t
xdrrec_endofrecord (XDR *xdrs, bool_t sendnow)
{
@@ -551,7 +552,6 @@ xdrrec_endofrecord (XDR *xdrs, bool_t sendnow)
rstrm->out_finger += BYTES_PER_XDR_UNIT;
return TRUE;
}
-libc_hidden_proto(xdrrec_endofrecord)
libc_hidden_def(xdrrec_endofrecord)
/*