aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_perr.c4
-rw-r--r--sunrpc/des_crypt.c3
-rw-r--r--sunrpc/des_soft.c1
-rw-r--r--sunrpc/key_call.c2
-rw-r--r--sunrpc/rpc_dtable.c1
-rw-r--r--sunrpc/rpc_thread.c5
6 files changed, 15 insertions, 1 deletions
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c
index c20853f..ad96e4a 100644
--- a/sunrpc/clnt_perr.c
+++ b/sunrpc/clnt_perr.c
@@ -150,6 +150,7 @@ clnt_sperror (CLIENT * rpch, const char *msg)
*++str = '\0';
return (strstart);
}
+libc_hidden_def (clnt_sperror)
void
clnt_perror (CLIENT * rpch, const char *msg)
@@ -161,6 +162,7 @@ clnt_perror (CLIENT * rpch, const char *msg)
#endif
(void) fputs (clnt_sperror (rpch, msg), stderr);
}
+libc_hidden_def (clnt_perror)
struct rpc_errtab
@@ -282,6 +284,7 @@ clnt_sperrno (enum clnt_stat stat)
}
return _("RPC: (unknown error code)");
}
+libc_hidden_def (clnt_sperrno)
void
clnt_perrno (enum clnt_stat num)
@@ -329,6 +332,7 @@ clnt_spcreateerror (const char *msg)
*++cp = '\0';
return str;
}
+libc_hidden_def (clnt_spcreateerror)
void
clnt_pcreateerror (const char *msg)
diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c
index 7a4bc5d..87389b4 100644
--- a/sunrpc/des_crypt.c
+++ b/sunrpc/des_crypt.c
@@ -105,7 +105,7 @@ cbc_crypt (char *key, char *buf, unsigned int len, unsigned int mode,
COPY8 (dp.des_ivec, ivec);
return err;
}
-
+libc_hidden_def (cbc_crypt)
/*
* ECB mode encryption
@@ -118,3 +118,4 @@ ecb_crypt (char *key, char *buf, unsigned int len, unsigned int mode)
dp.des_mode = ECB;
return common_crypt (key, buf, len, mode, &dp);
}
+libc_hidden_def (ecb_crypt)
diff --git a/sunrpc/des_soft.c b/sunrpc/des_soft.c
index a7940b6..521d97c 100644
--- a/sunrpc/des_soft.c
+++ b/sunrpc/des_soft.c
@@ -68,3 +68,4 @@ des_setparity (char *p)
p++;
}
}
+libc_hidden_def (des_setparity)
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 93117fd..e41e3fc 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -177,6 +177,7 @@ key_encryptsession_pk (char *remotename, netobj *remotekey,
*deskey = res.cryptkeyres_u.deskey;
return 0;
}
+libc_hidden_def (key_encryptsession_pk)
int
key_decryptsession_pk (char *remotename, netobj *remotekey,
@@ -201,6 +202,7 @@ key_decryptsession_pk (char *remotename, netobj *remotekey,
*deskey = res.cryptkeyres_u.deskey;
return 0;
}
+libc_hidden_def (key_decryptsession_pk)
int
key_gendes (des_block *key)
diff --git a/sunrpc/rpc_dtable.c b/sunrpc/rpc_dtable.c
index b21f0ae..fbbb3c1 100644
--- a/sunrpc/rpc_dtable.c
+++ b/sunrpc/rpc_dtable.c
@@ -48,3 +48,4 @@ _rpc_dtablesize (void)
return size;
}
+libc_hidden_def (_rpc_dtablesize)
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index 312ca8c..df48c31 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -85,6 +85,7 @@ __rpc_thread_svc_fdset (void)
return &svc_fdset;
return &tvp->svc_fdset_s;
}
+libc_hidden_def (__rpc_thread_svc_fdset)
struct rpc_createerr *
__rpc_thread_createerr (void)
@@ -96,6 +97,7 @@ __rpc_thread_createerr (void)
return &rpc_createerr;
return &tvp->rpc_createerr_s;
}
+libc_hidden_def (__rpc_thread_createerr)
struct pollfd **
__rpc_thread_svc_pollfd (void)
@@ -107,6 +109,7 @@ __rpc_thread_svc_pollfd (void)
return &svc_pollfd;
return &tvp->svc_pollfd_s;
}
+libc_hidden_def (__rpc_thread_svc_pollfd)
int *
__rpc_thread_svc_max_pollfd (void)
@@ -118,4 +121,6 @@ __rpc_thread_svc_max_pollfd (void)
return &svc_max_pollfd;
return &tvp->svc_max_pollfd_s;
}
+libc_hidden_def (__rpc_thread_svc_max_pollfd)
+
#endif /* _RPC_THREAD_SAFE_ */