aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/xdr_rec.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 15:55:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:02 +0200
commitca4ec8039628cac6600541472b068be7535d4bb4 (patch)
tree93a4212150449d0a326ef7e259b6f802c4099f95 /sunrpc/xdr_rec.c
parent24cffce7366c4070d8f823702a4fcec2cb732595 (diff)
downloadglibc-ca4ec8039628cac6600541472b068be7535d4bb4.tar
glibc-ca4ec8039628cac6600541472b068be7535d4bb4.tar.gz
glibc-ca4ec8039628cac6600541472b068be7535d4bb4.tar.bz2
glibc-ca4ec8039628cac6600541472b068be7535d4bb4.zip
sunrpc: Remove internal_function attribute
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r--sunrpc/xdr_rec.c15
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)