diff options
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r-- | sunrpc/xdr_rec.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c index 9dee4f040b..c9a1eaad63 100644 --- a/sunrpc/xdr_rec.c +++ b/sunrpc/xdr_rec.c @@ -119,11 +119,11 @@ typedef struct rec_strm } RECSTREAM; -static u_int fix_buf_size (u_int) internal_function; -static bool_t skip_input_bytes (RECSTREAM *, long) internal_function; -static bool_t flush_out (RECSTREAM *, bool_t) internal_function; -static bool_t set_input_fragment (RECSTREAM *) internal_function; -static bool_t get_input_bytes (RECSTREAM *, caddr_t, int) internal_function; +static u_int fix_buf_size (u_int); +static bool_t skip_input_bytes (RECSTREAM *, long); +static bool_t flush_out (RECSTREAM *, bool_t); +static bool_t set_input_fragment (RECSTREAM *); +static bool_t get_input_bytes (RECSTREAM *, caddr_t, int); /* * Create an xdr handle for xdrrec @@ -537,7 +537,6 @@ libc_hidden_nolink_sunrpc (xdrrec_endofrecord, GLIBC_2_0) * Internal useful routines */ static bool_t -internal_function flush_out (RECSTREAM *rstrm, bool_t eor) { u_long eormask = (eor == TRUE) ? LAST_FRAG : 0; @@ -574,7 +573,6 @@ fill_input_buf (RECSTREAM *rstrm) } static bool_t /* knows nothing about records! Only about input buffers */ -internal_function get_input_bytes (RECSTREAM *rstrm, caddr_t addr, int len) { int current; @@ -598,7 +596,6 @@ get_input_bytes (RECSTREAM *rstrm, caddr_t addr, int len) } static bool_t /* next two bytes of the input stream are treated as a header */ -internal_function set_input_fragment (RECSTREAM *rstrm) { uint32_t header; @@ -624,7 +621,6 @@ set_input_fragment (RECSTREAM *rstrm) } static bool_t /* consumes input bytes; knows nothing about records! */ -internal_function skip_input_bytes (RECSTREAM *rstrm, long cnt) { int current; @@ -646,7 +642,6 @@ skip_input_bytes (RECSTREAM *rstrm, long cnt) } static u_int -internal_function fix_buf_size (u_int s) { if (s < 100) |