diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-01 19:08:52 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-12-02 08:02:28 +0100 |
commit | 50aba30aee11d4fa51948c6ba258ec0bbdbae8c0 (patch) | |
tree | 84cdec45cf2982a4e3778bc391dcdcae14bd78d0 /libuargp/argp-parse.c | |
parent | ed10e944ac7f9b4d55dc130987274a2799a115b1 (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 'libuargp/argp-parse.c')
-rw-r--r-- | libuargp/argp-parse.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/libuargp/argp-parse.c b/libuargp/argp-parse.c index 912e3e2ab..ecd5e7eb6 100644 --- a/libuargp/argp-parse.c +++ b/libuargp/argp-parse.c @@ -48,19 +48,8 @@ char *alloca (); #include <features.h> #ifndef _ -/* This is for other GNU distributions with internationalized messages. - When compiling libc, the _ macro is predefined. */ -# if (defined HAVE_LIBINTL_H || defined _LIBC) && defined __UCLIBC_HAS_GETTEXT_AWARENESS__ -# include <libintl.h> -# ifdef _LIBC -# undef dgettext -# define dgettext(domain, msgid) \ - INTUSE(__dcgettext) (domain, msgid, LC_MESSAGES) -# endif -# else -# define dgettext(domain, msgid) (msgid) -# define gettext(msgid) (msgid) -# endif +# define dgettext(domain, msgid) (msgid) +# define gettext(msgid) (msgid) #endif #ifndef N_ # define N_(msgid) (msgid) |