summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/auth_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/auth_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/auth_unix.c')
-rw-r--r--libc/inet/rpc/auth_unix.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c
index 72d7a7af9..86c5ce956 100644
--- a/libc/inet/rpc/auth_unix.c
+++ b/libc/inet/rpc/auth_unix.c
@@ -42,7 +42,6 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <libintl.h>
#include <sys/param.h>
#include <rpc/types.h>
@@ -105,7 +104,7 @@ authunix_create (char *machname, uid_t uid, gid_t gid, int len,
if (auth == NULL || au == NULL)
{
no_memory:
- (void) fputs (_("authunix_create: out of memory\n"), stderr);
+ (void) fputs ("authunix_create: out of memory\n", stderr);
mem_free (auth, sizeof (*auth));
mem_free (au, sizeof (*au));
return NULL;
@@ -314,7 +313,7 @@ marshal_new_auth (AUTH *auth)
xdrmem_create (xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE);
if ((!xdr_opaque_auth (xdrs, &(auth->ah_cred))) ||
(!xdr_opaque_auth (xdrs, &(auth->ah_verf))))
- perror (_("auth_unix.c - Fatal marshalling problem"));
+ perror ("auth_unix.c - Fatal marshalling problem");
else
au->au_mpos = XDR_GETPOS (xdrs);