From 82d460fe3106bfc4a5096abfb54f1a0ee94e3f52 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Thu, 14 Jan 2021 12:04:48 +1100 Subject: [PATCH] Rename init_locale() to init_locale_vars() --- src/trader.c | 2 +- src/utils.c | 4 ++-- src/utils.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/trader.c b/src/trader.c index f22661a..5781926 100644 --- a/src/trader.c +++ b/src/trader.c @@ -393,7 +393,7 @@ void init_program (void) init_rand(); // Initialise locale-specific variables - init_locale(); + init_locale_vars(); // Initialise the terminal display init_screen(); diff --git a/src/utils.c b/src/utils.c index fa9c8de..7600b3d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -574,9 +574,9 @@ extern int randi (int limit) /***********************************************************************/ -// init_locale: Initialise locale-specific variables +// init_locale_vars: Initialise locale-specific variables -void init_locale (void) +void init_locale_vars (void) { char *cur, *cloc; struct lconv *lc; diff --git a/src/utils.h b/src/utils.h index 54089cd..3b97330 100644 --- a/src/utils.h +++ b/src/utils.h @@ -230,7 +230,7 @@ extern int randi (int limit); ************************************************************************/ /* - Function: init_locale - Initialise locale-specific variables + Function: init_locale_vars - Initialise locale-specific variables Parameters: (none) Returns: (nothing) @@ -241,7 +241,7 @@ extern int randi (int limit); and frac_digits members of lconvinfo are updated to be something reasonable. This function must be called before using localeconf_info. */ -extern void init_locale (void); +extern void init_locale_vars (void); /*