diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-18 19:34:00 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:27 +0200 |
commit | 09450e82e292bf3a30c8d1628e85c62001704b0a (patch) | |
tree | 118c45cdf0266ad4aa041c84fc7bddb446e379cf /libc/inet/rpc/clnt_udp.c | |
parent | 5e8529cbb37c7fefe7b23c81589a637da860fa4f (diff) |
rpc: remove unused USE_IN_LIBIO guarded code
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc/clnt_udp.c')
-rw-r--r-- | libc/inet/rpc/clnt_udp.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c index af5e0d2d8..f2f8149ec 100644 --- a/libc/inet/rpc/clnt_udp.c +++ b/libc/inet/rpc/clnt_udp.c @@ -49,9 +49,6 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; #include <errno.h> #include <rpc/pmap_clnt.h> #include <net/if.h> -#ifdef USE_IN_LIBIO -# include <wchar.h> -#endif #ifdef IP_RECVERR #include "errqueue.h" @@ -131,13 +128,7 @@ clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version, if (cl == NULL || cu == NULL) { struct rpc_createerr *ce = &get_rpc_createerr (); -#ifdef USE_IN_LIBIO - if (_IO_fwide (stderr, 0) > 0) - (void) fwprintf (stderr, L"%s", - _("clntudp_create: out of memory\n")); - else -#endif - (void) fputs (_("clntudp_create: out of memory\n"), stderr); + (void) fputs (_("clntudp_create: out of memory\n"), stderr); ce->cf_stat = RPC_SYSTEMERROR; ce->cf_error.re_errno = ENOMEM; goto fooy; |