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/get_myaddress.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/inet/rpc/get_myaddress.c') diff --git a/libc/inet/rpc/get_myaddress.c b/libc/inet/rpc/get_myaddress.c index 04999a199..edeadce9f 100644 --- a/libc/inet/rpc/get_myaddress.c +++ b/libc/inet/rpc/get_myaddress.c @@ -44,7 +44,6 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro"; #include #include #include -#include #include #include /* Order of following two #includes reversed by roland@gnu */ @@ -76,7 +75,7 @@ get_myaddress (struct sockaddr_in *addr) ifc.ifc_buf = buf; if (ioctl (s, SIOCGIFCONF, (char *) &ifc) < 0) { - perror (_("get_myaddress: ioctl (get interface configuration)")); + perror ("get_myaddress: ioctl (get interface configuration)"); exit (1); } -- cgit v1.2.3