sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166]
commit89aacb513eb77549a29df2638913a0f8178cf3f5
authorFlorian Weimer <fweimer@redhat.com>
Fri, 11 May 2018 13:36:50 +0000 (11 15:36 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 11 May 2018 13:36:50 +0000 (11 15:36 +0200)
tree160dfa13091d79de8091b4d7a33af318ee6cfa95
parentbb066cb806dfe55511cf2fb59bf013751152608f
sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166]

This is needed to avoid a warning when linking against libtirpc:

/lib64/libc.so.6: warning: common of `rpc_createerr@@TIRPC_0.3.0' overridden by definition
/usr/lib64/libtirpc.so: warning: defined here

This ld warning is not enabled by default; -Wl,--warn-common enables it.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
include/rpc/clnt.h
include/rpc/svc.h
sunrpc/rpc_common.c
sunrpc/svcauth_des.c