summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc_unix.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-01 19:08:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-02 08:02:28 +0100
commit50aba30aee11d4fa51948c6ba258ec0bbdbae8c0 (patch)
tree84cdec45cf2982a4e3778bc391dcdcae14bd78d0 /libc/inet/rpc/svc_unix.c
parented10e944ac7f9b4d55dc130987274a2799a115b1 (diff)
remove libintl stub and libintl.h header
As __UCLIBC_HAS_GETTEXT_AWARENESS__ is never defined, this is mostly dead code. It is planned to integrate libiconv-tiny and gettext-tiny into uClibc-ng after the next release, so that more software packages can be used without modification. Remove any _/_N macro usage.
Diffstat (limited to 'libc/inet/rpc/svc_unix.c')
-rw-r--r--libc/inet/rpc/svc_unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index 7a09af6a1..8cc982a59 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -142,7 +142,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
{
if ((sock = socket (AF_UNIX, SOCK_STREAM, 0)) < 0)
{
- perror (_("svc_unix.c - AF_UNIX socket creation problem"));
+ perror ("svc_unix.c - AF_UNIX socket creation problem");
return (SVCXPRT *) NULL;
}
madesock = TRUE;
@@ -158,7 +158,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
if (getsockname (sock, (struct sockaddr *) &addr, &len) != 0
|| listen (sock, 2) != 0)
{
- perror (_("svc_unix.c - cannot getsockname or listen"));
+ perror ("svc_unix.c - cannot getsockname or listen");
if (madesock)
close (sock);
return (SVCXPRT *) NULL;
@@ -168,7 +168,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
xprt = (SVCXPRT *) mem_alloc (sizeof (SVCXPRT));
if (r == NULL || xprt == NULL)
{
- fputs (_("svcunix_create: out of memory\n"), stderr);
+ fputs ("svcunix_create: out of memory\n", stderr);
mem_free (r, sizeof (*r));
mem_free (xprt, sizeof (SVCXPRT));
return NULL;
@@ -208,7 +208,7 @@ makefd_xprt (int fd, u_int sendsize, u_int recvsize)
cd = (struct unix_conn *) mem_alloc (sizeof (struct unix_conn));
if (xprt == (SVCXPRT *) NULL || cd == (struct unix_conn *) NULL)
{
- (void) fputs (_("svc_unix: makefd_xprt: out of memory\n"), stderr);
+ (void) fputs ("svc_unix: makefd_xprt: out of memory\n", stderr);
mem_free (xprt, sizeof (SVCXPRT));
mem_free (cd, sizeof (struct unix_conn));
return NULL;