summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-14 14:38:03 +0000
committerJim Meyering <jim@meyering.net>2002-11-14 14:38:03 +0000
commitf9362b8897b385057b5f085fd4a7c51fd4235b1f (patch)
treed3e62f4925b1b5863c1e426625ed66e17ed36085 /lib
parente946e96a84010d5d2ff0bfc377de2040a8a67a2a (diff)
downloadcoreutils-f9362b8897b385057b5f085fd4a7c51fd4235b1f.tar.xz
Don't include libintl.h, and don't define `_' -- they're not used.
Diffstat (limited to 'lib')
-rw-r--r--lib/long-options.c9
-rw-r--r--lib/same.c9
2 files changed, 2 insertions, 16 deletions
diff --git a/lib/long-options.c b/lib/long-options.c
index e36685fb0..04088670f 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 <libintl.h>
-# 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 0e2807ac2..b32e3dab9 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 <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
-
#ifndef HAVE_DECL_FREE
"this configure-time declaration test was not run"
#endif