diff --git a/top/top.c b/top/top.c index a64ff8df..e5d98dec 100644 --- a/top/top.c +++ b/top/top.c @@ -2073,7 +2073,7 @@ static void before (char *me) { if (Myname) ++Myname; else Myname = me; // accommodate nls/gettext potential translations - initialize_nsl(); + initialize_nls(); // establish cpu particulars #ifdef PRETEND4CPUS diff --git a/top/top_nls.c b/top/top_nls.c index ffd64de5..32bb822c 100644 --- a/top/top_nls.c +++ b/top/top_nls.c @@ -440,7 +440,7 @@ static void build_norm_nlstab (void) { /* * This routine builds the nls table containing specially * formatted strings designed to fit within an 80x24 terminal. */ -static void build_uniq_nsltab (void) { +static void build_uniq_nlstab (void) { char buf[BIGBUFSIZ]; /* Translation Notes ------------------------------------------------ @@ -650,7 +650,7 @@ static void build_uniq_nsltab (void) { * user will also have to export an empty LC_ALL= to actually * enable any translations. */ -void initialize_nsl (void) { +void initialize_nls (void) { #ifdef VALIDATE_NLS static const char *nls_err ="\t%s_nlstab[%d] == NULL\n"; int i; @@ -674,7 +674,7 @@ void initialize_nsl (void) { exit(1); } memset(Uniq_nlstab, 0, sizeof(Uniq_nlstab)); - build_uniq_nsltab(); + build_uniq_nlstab(); for (i = 0; i < uniq_MAX; i++) if (!Uniq_nlstab[i]) { fprintf(stderr, nls_err, "Uniq", i); @@ -687,6 +687,6 @@ void initialize_nsl (void) { build_desc_nlstab(); build_norm_nlstab(); - build_uniq_nsltab(); + build_uniq_nlstab(); #endif } diff --git a/top/top_nls.h b/top/top_nls.h index 1b029324..6e0b0c2f 100644 --- a/top/top_nls.h +++ b/top/top_nls.h @@ -75,7 +75,7 @@ enum uniq_nls { uniq_MAX }; -void initialize_nsl (void); +void initialize_nls (void); #endif /* _Itop_nls */