summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-11-17 11:34:58 +0000
committerColin Watson <cjwatson@debian.org>2010-11-17 11:34:58 +0000
commit10c16d26f89589d4eb219cf3491f447d56cbfce4 (patch)
treeaaab38d5ede76f6b59b200adf9693dbccabeb61f /include
parent90da5dbbeb8bd51498473b212ce3297460b5415d (diff)
* lib/util.c (init_locale): Avoid warnings if configured with
--disable-nls. Remove arguments, since this was only ever called as 'init_locale (LC_ALL, "")' anyway, and that required callers to explicitly include <locale.h>. Update all callers. * include/manconfig.h.in (init_locale): Update prototype.
Diffstat (limited to 'include')
-rw-r--r--include/manconfig.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/manconfig.h.in b/include/manconfig.h.in
index ef2fba5c..070201c2 100644
--- a/include/manconfig.h.in
+++ b/include/manconfig.h.in
@@ -365,7 +365,7 @@ extern char *escape_shell (const char *unesc);
extern int remove_directory (const char *directory);
extern char *trim_spaces (const char *s);
extern char *lang_dir (const char *filename);
-extern char *init_locale (int category, const char *locale);
+extern char *init_locale (void);
extern char *appendstr (char *, ...)
ATTRIBUTE_SENTINEL ATTRIBUTE_WARN_UNUSED_RESULT;