1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Make sunrpc code usable again

New configure option --enable-obsolete-rpc makes the deprecated RPC
  headers and functions available at compile time as they were before
  version 2.14.  This option will be removed at some time in the future
  after the TI-RPC library becomes fully sufficient for the needs of
  existing applications.
This commit is contained in:
Andreas Jaeger
2012-05-10 20:16:53 +02:00
parent b5c086a281
commit 021db4be6f
58 changed files with 272 additions and 153 deletions

View File

@ -149,7 +149,7 @@ no_memory:
marshal_new_auth (auth);
return auth;
}
libc_hidden_nolink (authunix_create, GLIBC_2_0)
libc_hidden_nolink_sunrpc (authunix_create, GLIBC_2_0)
/*
* Returns an auth handle with parameters determined by doing lots of
@ -216,7 +216,7 @@ authunix_create_default (void)
#ifdef EXPORT_RPC_SYMBOLS
libc_hidden_def (authunix_create_default)
#else
libc_hidden_nolink (authunix_create_default, GLIBC_2_0)
libc_hidden_nolink_sunrpc (authunix_create_default, GLIBC_2_0)
#endif
/*