From 935d920e763626dbcbbf655117285d1d270791a1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 26 Jun 2018 15:27:03 +0200 Subject: sunrpc: Remove always-defined _RPC_THREAD_SAFE_ macro Header and C source file changes were generated using: unifdef -m -D_RPC_THREAD_SAFE_ include/rpc/rpc.h sunrpc/*.c --- sunrpc/rpc_main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sunrpc/rpc_main.c') diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index f94bc91546..c6607848cc 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -1341,15 +1341,6 @@ parseargs (int argc, const char *argv[], struct commandline *cmd) cmd->Scflag = flag['C']; cmd->makefileflag = flag['M']; -#ifndef _RPC_THREAD_SAFE_ - if (mtflag || newstyle) - { - /* glibc doesn't support these flags. */ - f_print (stderr, - _("This implementation doesn't support newstyle or MT-safe code!\n")); - return (0); - } -#endif if (tirpcflag) { pmflag = inetdflag ? 0 : 1; /* pmflag or inetdflag is always TRUE */ -- cgit 1.4.1