From 50aba30aee11d4fa51948c6ba258ec0bbdbae8c0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 1 Dec 2016 19:08:52 +0100 Subject: 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. --- libc/inet/rpc/ruserpass.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libc/inet/rpc/ruserpass.c') diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c index 9197763a3..4f3060b22 100644 --- a/libc/inet/rpc/ruserpass.c +++ b/libc/inet/rpc/ruserpass.c @@ -41,7 +41,6 @@ #include #include #include -#include /* #include "ftp_var.h" */ @@ -163,7 +162,7 @@ next: newp = malloc((unsigned) strlen(tokval) + 1); if (newp == NULL) { - printf(_("out of memory")); + printf("out of memory"); goto bad; } *aname = strcpy(newp, tokval); @@ -177,8 +176,8 @@ next: if (strcmp(*aname, "anonymous") && fstat(fileno(cfile), &stb) >= 0 && (stb.st_mode & 077) != 0) { - printf(_("Error: .netrc file is readable by others.")); - printf(_("Remove password or make file unreadable by others.")); + printf("Error: .netrc file is readable by others."); + printf("Remove password or make file unreadable by others."); goto bad; } if (token() && *apass == 0) { @@ -186,7 +185,7 @@ next: newp = malloc((unsigned) strlen(tokval) + 1); if (newp == NULL) { - printf(_("out of memory")); + printf("out of memory"); goto bad; } *apass = strcpy(newp, tokval); @@ -270,7 +269,7 @@ next: #endif break; default: - printf(_("Unknown .netrc keyword %s"), tokval); + printf("Unknown .netrc keyword %s", tokval); break; } goto done; -- cgit v1.2.3