sunrpc: Turn clnt_sperrno into a libc_hidden_nolink_sunrpc symbol
Before this change, the function had a default symbol version even without --enable-obsolete-rpc.
This commit is contained in:
parent
325081b9eb
commit
d7ebcd4380
|
@ -257,7 +257,11 @@ clnt_sperrno (enum clnt_stat stat)
|
||||||
}
|
}
|
||||||
return _("RPC: (unknown error code)");
|
return _("RPC: (unknown error code)");
|
||||||
}
|
}
|
||||||
|
#ifdef EXPORT_RPC_SYMBOLS
|
||||||
libc_hidden_def (clnt_sperrno)
|
libc_hidden_def (clnt_sperrno)
|
||||||
|
#else
|
||||||
|
libc_hidden_nolink_sunrpc (clnt_sperrno, GLIBC_2_0)
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
clnt_perrno (enum clnt_stat num)
|
clnt_perrno (enum clnt_stat num)
|
||||||
|
|
Loading…
Reference in a new issue