From: Jim Meyering Date: Sun, 11 Nov 2001 15:24:53 +0000 (+0000) Subject: (struct_month_cmp): Guard definition with the same X-Git-Tag: TEXTUTILS-2_0_17~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae7a9d7f4d3635a604930dc78caea61bfd6acff;p=thirdparty%2Fcoreutils.git (struct_month_cmp): Guard definition with the same cpp directive that guards the use. --- diff --git a/src/sort.c b/src/sort.c index 0b0aa9a033..1ce7508a69 100644 --- a/src/sort.c +++ b/src/sort.c @@ -535,7 +535,7 @@ zaptemp (const char *name) } } -#ifdef ENABLE_NLS +#if defined ENABLE_NLS && HAVE_NL_LANGINFO static int struct_month_cmp (const void *m1, const void *m2) @@ -544,7 +544,7 @@ struct_month_cmp (const void *m1, const void *m2) ((const struct month *) m2)->name); } -#endif /* NLS */ +#endif /* Initialize the character class tables. */