summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2008-09-09 06:32:59 +0000
committerlukem <lukem@NetBSD.org>2008-09-09 06:32:59 +0000
commit915ac4056ff41b7b5ef54cd890d10c2a984e472b (patch)
treec312f469b3bcfc7d82e5f55db40827051d25e55c /gnu
parentd455051090e2377b9f3ff73bd521170e544d2cf2 (diff)
Revert rev 1.9:
* we now disable gettext by not defining ENABLE_NLS, * we now link in the xmalloc/xstrdup/xexit replacements explicitly. Reduces differences to upstream.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/texinfo/lib/system.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/gnu/dist/texinfo/lib/system.h b/gnu/dist/texinfo/lib/system.h
index fe69461418e..0e84585a62c 100644
--- a/gnu/dist/texinfo/lib/system.h
+++ b/gnu/dist/texinfo/lib/system.h
@@ -1,4 +1,4 @@
-/* $NetBSD: system.h,v 1.9 2008/09/03 09:55:23 dogcow Exp $ */
+/* $NetBSD: system.h,v 1.10 2008/09/09 06:32:59 lukem Exp $ */
/* system.h: system-dependent declarations; include this first.
Id: system.h,v 1.12 2004/04/26 13:56:57 karl Exp
@@ -56,11 +56,7 @@ extern char *substring (const char *, const char *);
#include "gettext.h"
#undef const
-#ifndef HOSTTOOL
#define _(String) gettext (String)
-#else
-#define _(String) (String)
-#endif
#define N_(String) (String)
#ifdef STDC_HEADERS
@@ -273,12 +269,10 @@ extern int strcoll ();
/* Some systems don't declare this function in pwd.h. */
struct passwd *getpwnam (const char *name);
-#ifndef HOSTTOOL
/* Our library routines not included in any system library. */
extern void *xmalloc (size_t), *xrealloc (void *, size_t);
extern char *xstrdup (const char *);
extern void xexit (int);
-#endif
/* For convenience. */
#define STREQ(s1,s2) (strcmp (s1, s2) == 0)