From 09450e82e292bf3a30c8d1628e85c62001704b0a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 18 Mar 2011 19:34:00 +0100 Subject: rpc: remove unused USE_IN_LIBIO guarded code Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/inet/rpc/xdr_rec.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'libc/inet/rpc/xdr_rec.c') diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c index f02f50e78..87d50abd0 100644 --- a/libc/inet/rpc/xdr_rec.c +++ b/libc/inet/rpc/xdr_rec.c @@ -49,13 +49,6 @@ #include #include "rpc_private.h" -#ifdef USE_IN_LIBIO -# include -# include -# define fputs(s, f) _IO_fputs (s, f) -#endif - - static bool_t xdrrec_getbytes (XDR *, caddr_t, u_int); static bool_t xdrrec_putbytes (XDR *, const char *, u_int); static bool_t xdrrec_getint32 (XDR *, int32_t *); @@ -161,12 +154,7 @@ xdrrec_create (XDR *xdrs, u_int sendsize, if (rstrm == NULL || buf == NULL) { -#ifdef USE_IN_LIBIO - if (_IO_fwide (stderr, 0) > 0) - (void) fwprintf (stderr, L"%s", _("xdrrec_create: out of memory\n")); - else -#endif - (void) fputs (_("xdrrec_create: out of memory\n"), stderr); + (void) fputs (_("xdrrec_create: out of memory\n"), stderr); mem_free (rstrm, sizeof (RECSTREAM)); mem_free (buf, sendsize + recvsize + BYTES_PER_XDR_UNIT); /* -- cgit v1.2.3