about summary refs log tree commit diff
path: root/sunrpc/clnt_perr.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-04-22 23:31:52 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-22 23:31:52 -0400
commit4df46dbda7787fd9f718c4d98a8416fcfa2f2c56 (patch)
tree7cee7d6d6379074f1379ffb687d9b9bd2fcc51ec /sunrpc/clnt_perr.c
parent7a41d99a35ca4c13ad2db1bc3894e1a8ec70721b (diff)
downloadglibc-4df46dbda7787fd9f718c4d98a8416fcfa2f2c56.tar.gz
glibc-4df46dbda7787fd9f718c4d98a8416fcfa2f2c56.tar.xz
glibc-4df46dbda7787fd9f718c4d98a8416fcfa2f2c56.zip
Fix "make xcheck" in sunrpc.
Diffstat (limited to 'sunrpc/clnt_perr.c')
-rw-r--r--sunrpc/clnt_perr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c
index 734c2b3636..e6b2460ec5 100644
--- a/sunrpc/clnt_perr.c
+++ b/sunrpc/clnt_perr.c
@@ -270,7 +270,11 @@ clnt_perrno (enum clnt_stat num)
 {
   (void) __fxprintf (NULL, "%s", clnt_sperrno (num));
 }
+#ifdef EXPORT_RPC_SYMBOLS
+libc_hidden_def (clnt_perrno)
+#else
 libc_hidden_nolink (clnt_perrno, GLIBC_2_0)
+#endif
 
 char *
 clnt_spcreateerror (const char *msg)