aboutsummaryrefslogtreecommitdiff
path: root/include/shlib-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shlib-compat.h')
-rw-r--r--include/shlib-compat.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/shlib-compat.h b/include/shlib-compat.h
index c8fc692..b582818 100644
--- a/include/shlib-compat.h
+++ b/include/shlib-compat.h
@@ -127,15 +127,9 @@
#define compat_symbol_reference_2(local, symbol, name) \
symbol_version_reference (local, symbol, name)
-# ifdef LINK_OBSOLETE_RPC
-/* Export the symbol for both static and dynamic linking. */
-# define libc_sunrpc_symbol(name, aliasname, version) \
- strong_alias (name, aliasname)
-# else
/* Export the symbol only for shared-library compatibility. */
-# define libc_sunrpc_symbol(name, aliasname, version) \
+#define libc_sunrpc_symbol(name, aliasname, version) \
compat_symbol (libc, name, aliasname, version);
-# endif
/* The TEST_COMPAT macro acts just like the SHLIB_COMPAT macro except
that it does not check IS_IN. It is used by tests that are testing