maint: Don't define the gettext-related macro N_ where it is not needed.

* lib/buildcmd.c: Don't define the macro N_(), since we don't use
it.
* lib/fdleak.c: Likewise.
* lib/safe-atoi.c: Likewise.
* lib/regextype.c: Likewise.
* lib/listfile.c: Likewise.
* locate/bigram.c: Likewise.
* locate/code.c: Likewise.
* locate/frcode.c: Likewise.
* locate/word_io.c: Likewise.
* find/fstype.c: Likewise.
* find/parser.c: Likewise.
* find/pred.c: Likewise.
* find/exec.c: Likewise.
* find/tree.c: Likewise.
* find/util.c: Likewise.
* find/print.c: Likewise.
* find/ftsfind.c: Likewise.
This commit is contained in:
James Youngman 2016-01-02 22:40:45 +00:00
parent 36c63d385b
commit 317c00f610
17 changed files with 0 additions and 114 deletions

View File

@ -47,12 +47,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
/* Initialize exec->wd_for_exec.

View File

@ -65,12 +65,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
static char *file_system_type_uncached (const struct stat *statp, const char *path);

View File

@ -68,12 +68,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
/* FTS_TIGHT_CYCLE_CHECK tries to work around Savannah bug #17877

View File

@ -76,12 +76,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
#ifndef HAVE_ENDGRENT
#define endgrent ()

View File

@ -60,12 +60,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
#ifdef CLOSEDIR_VOID
/* Fake a return value. */

View File

@ -55,12 +55,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
#if defined STDC_HEADERS
# define ISDIGIT(c) isdigit ((unsigned char)c)

View File

@ -38,12 +38,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif

View File

@ -51,12 +51,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
struct debug_option_assoc

View File

@ -49,12 +49,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
/* COMPAT: SYSV version defaults size (and has a max value of) to 470.
We try to make it as large as possible. See bc_get_arg_max() below. */

View File

@ -49,12 +49,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
/* In order to detect FD leaks, we take a snapshot of the open
* file descriptors which are not FD_CLOEXEC when the program starts.

View File

@ -72,12 +72,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
static bool print_name (register const char *p, FILE *stream, int literal_control_chars);

View File

@ -42,12 +42,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
struct tagRegexTypeMap

View File

@ -36,12 +36,6 @@
#else
# define _(Text) Text
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
int

View File

@ -60,12 +60,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop(String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
/* Return the length of the longest common prefix of strings S1 and S2. */

View File

@ -74,12 +74,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* See locate.c for explanation as to why not use (String) */
# define N_(String) String
#endif
#ifndef ATTRIBUTE_NORETURN

View File

@ -96,18 +96,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* We used to use (String) instead of just String, but apparently ISO C
* doesn't allow this (at least, that's what HP said when someone reported
* this as a compiler bug). This is HP case number 1205608192. See
* also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11250 (which references
* ANSI 3.5.7p14-15). The Intel icc compiler also rejects constructs
* like: static const char buf[] = ("string");
*/
# define N_(String) String
#endif
/* Write out a 16-bit int, high byte first (network byte order).

View File

@ -43,18 +43,6 @@
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif
#ifdef gettext_noop
# define N_(String) gettext_noop (String)
#else
/* We used to use (String) instead of just String, but apparently ISO C
* doesn't allow this (at least, that's what HP said when someone reported
* this as a compiler bug). This is HP case number 1205608192. See
* also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11250 (which references
* ANSI 3.5.7p14-15). The Intel icc compiler also rejects constructs
* like: static const char buf[] = ("string");
*/
# define N_(String) String
#endif
enum { WORDBYTES=4 };