diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/clnt_tcp.c | 2 | ||||
-rw-r--r-- | sunrpc/clnt_udp.c | 2 | ||||
-rw-r--r-- | sunrpc/clnt_unix.c | 2 | ||||
-rw-r--r-- | sunrpc/create_xid.c | 2 | ||||
-rw-r--r-- | sunrpc/des_crypt.c | 2 | ||||
-rw-r--r-- | sunrpc/des_impl.c | 2 | ||||
-rw-r--r-- | sunrpc/pmap_rmt.c | 2 |
7 files changed, 8 insertions, 6 deletions
diff --git a/sunrpc/clnt_tcp.c b/sunrpc/clnt_tcp.c index 249e9c3584..ae0d2b33ba 100644 --- a/sunrpc/clnt_tcp.c +++ b/sunrpc/clnt_tcp.c @@ -56,7 +56,7 @@ #include <wchar.h> #include <shlib-compat.h> -extern u_long _create_xid (void); +extern u_long _create_xid (void) attribute_hidden; #define MCALL_MSG_SIZE 24 diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index c2436e3ebc..cc38f2d7c8 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -58,7 +58,7 @@ #include <inet/net-internal.h> #include <shlib-compat.h> -extern u_long _create_xid (void); +extern u_long _create_xid (void) attribute_hidden; /* * UDP bases client side rpc operations diff --git a/sunrpc/clnt_unix.c b/sunrpc/clnt_unix.c index 33a02cc8af..57b2b79c57 100644 --- a/sunrpc/clnt_unix.c +++ b/sunrpc/clnt_unix.c @@ -57,7 +57,7 @@ #include <wchar.h> #include <shlib-compat.h> -extern u_long _create_xid (void); +extern u_long _create_xid (void) attribute_hidden; #define MCALL_MSG_SIZE 24 diff --git a/sunrpc/create_xid.c b/sunrpc/create_xid.c index 63e586f504..ae48cd2bc5 100644 --- a/sunrpc/create_xid.c +++ b/sunrpc/create_xid.c @@ -22,6 +22,8 @@ #include <libc-lock.h> #include <rpc/rpc.h> +extern unsigned long _create_xid (void) attribute_hidden; + /* The RPC code is not threadsafe, but new code should be threadsafe. */ __libc_lock_define_initialized (static, createxid_lock) diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c index a4d8b2936b..76db3980a3 100644 --- a/sunrpc/des_crypt.c +++ b/sunrpc/des_crypt.c @@ -35,7 +35,7 @@ #include <shlib-compat.h> #include "des.h" -extern int _des_crypt (char *, unsigned, struct desparams *); +extern int _des_crypt (char *, unsigned, struct desparams *) attribute_hidden; /* * Copy 8 bytes diff --git a/sunrpc/des_impl.c b/sunrpc/des_impl.c index d1d2edfbc8..3b53b2249f 100644 --- a/sunrpc/des_impl.c +++ b/sunrpc/des_impl.c @@ -372,7 +372,7 @@ static const char shifts2[16] = static void des_set_key (unsigned char *, unsigned long *); static void des_encrypt (unsigned long *, unsigned long *, int); -int _des_crypt (char *, unsigned, struct desparams *); +int _des_crypt (char *, unsigned, struct desparams *) attribute_hidden; static void des_set_key (unsigned char *key, unsigned long *schedule) diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index 6b142e5441..c9739285e3 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -53,7 +53,7 @@ #define MAX_BROADCAST_SIZE 1400 -extern u_long _create_xid (void); +extern u_long _create_xid (void) attribute_hidden; static const struct timeval timeout = {3, 0}; |