]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
From gnulib, by Bruno Haible
authorJim Meyering <jim@meyering.net>
Sat, 23 Nov 2002 15:03:40 +0000 (15:03 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 23 Nov 2002 15:03:40 +0000 (15:03 +0000)
* closeout.c: Include gettext.h instead of <libintl.h>.

lib/closeout.c

index 0c78b6e4c3e0fd9b9a4a0a976542bc5c8f838fbe..90606f246da85fd27033f8395edb051e2f0f4e90 100644 (file)
@@ -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
 # 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"