summaryrefslogtreecommitdiff
path: root/libc/misc/gnu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-03 00:23:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-03 00:23:10 +0100
commitaadbad6264e9f88bc886558cf3ed5cb34e747f8c (patch)
tree289a0c86a9dc3514ee51faf88b1bddb0aa0f0bfa /libc/misc/gnu
parentab9a88b3e160f41812d76b7df1838b6603030863 (diff)
fix obstack compile issue after libintl/gettext removal
Diffstat (limited to 'libc/misc/gnu')
-rw-r--r--libc/misc/gnu/obstack.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index a5c646832..75f6d0b65 100644
--- a/libc/misc/gnu/obstack.c
+++ b/libc/misc/gnu/obstack.c
@@ -402,14 +402,6 @@ _obstack_memory_used (struct obstack *h)
return nbytes;
}
-/* Define the error handler. */
-# ifndef _LIBC
-# include "gettext.h"
-# endif
-# ifndef _
-# define _(msgid) gettext (msgid)
-# endif
-
# if defined _LIBC && !defined __UCLIBC__
# include <libio/iolibio.h>
# endif
@@ -431,9 +423,9 @@ print_and_abort (void)
like this and the translation should be reused instead of creating
a very similar string which requires a separate translation. */
# if defined _LIBC && !defined __UCLIBC__
- (void) __fxprintf (NULL, "%s\n", _("memory exhausted"));
+ (void) __fxprintf (NULL, "%s\n", "memory exhausted");
# else
- fprintf (stderr, "%s\n", _("memory exhausted"));
+ fprintf (stderr, "%s\n", "memory exhausted");
# endif
exit (__obstack_exit_failure);
}