From: Jim Meyering Date: Thu, 14 Nov 2002 14:38:03 +0000 (+0000) Subject: Don't include libintl.h, and don't define `_' -- they're not used. X-Git-Tag: v4.5.4~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9362b8897b385057b5f085fd4a7c51fd4235b1f;p=thirdparty%2Fcoreutils.git Don't include libintl.h, and don't define `_' -- they're not used. --- diff --git a/lib/long-options.c b/lib/long-options.c index e36685fb01..04088670f0 100644 --- a/lib/long-options.c +++ b/lib/long-options.c @@ -1,5 +1,5 @@ /* Utility to accept --help and --version options as unobtrusively as possible. - Copyright (C) 1993, 1994, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1998-2000, 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 @@ -30,13 +30,6 @@ #include "long-options.h" #include "version-etc.h" -#if ENABLE_NLS -# include -# define _(Text) gettext (Text) -#else -# define _(Text) Text -#endif - static struct option const long_options[] = { {"help", no_argument, 0, 'h'}, diff --git a/lib/same.c b/lib/same.c index 0e2807ac20..b32e3dab9f 100644 --- a/lib/same.c +++ b/lib/same.c @@ -1,5 +1,5 @@ /* Determine whether two file names refer to the same file. - Copyright (C) 1997-2000 Free Software Foundation, Inc. + Copyright (C) 1997-2000, 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 @@ -47,13 +47,6 @@ extern int errno; #include "error.h" #include "xalloc.h" -#if ENABLE_NLS -# include -# define _(Text) gettext (Text) -#else -# define _(Text) Text -#endif - #ifndef HAVE_DECL_FREE "this configure-time declaration test was not run" #endif