summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-23 15:03:40 +0000
committerJim Meyering <jim@meyering.net>2002-11-23 15:03:40 +0000
commitf1b9a8744c2b38a544f1ea3d608d20c9e51b577a (patch)
tree46528358f7d0b3f1b1f2f28ba9af92674b58f81a /lib
parent98e5192525f5536bf175f05ea864a6500ed51508 (diff)
downloadcoreutils-f1b9a8744c2b38a544f1ea3d608d20c9e51b577a.tar.xz
From gnulib, by Bruno Haible
* closeout.c: Include gettext.h instead of <libintl.h>.
Diffstat (limited to 'lib')
-rw-r--r--lib/closeout.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/closeout.c b/lib/closeout.c
index 0c78b6e4c..90606f246 100644
--- a/lib/closeout.c
+++ b/lib/closeout.c
@@ -1,5 +1,5 @@
/* closeout.c - close standard output
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,13 +19,6 @@
# include <config.h>
#endif
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
-
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
@@ -40,6 +33,9 @@
extern int errno;
#endif
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
+
#include "closeout.h"
#include "error.h"
#include "quotearg.h"