summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-12-20 00:41:41 +0000
committerColin Watson <cjwatson@debian.org>2010-12-20 00:41:41 +0000
commitdd711cf68cd76b4f06c214f70cd3dd76eb7ba596 (patch)
tree0525e30ec49e8399ebcdf134007ce9f692031c10 /include
parentf7658f51c254ce16a564d670880d828a00f3a3fc (diff)
* src/catman.c (main): Initialise locale using the LC_MESSAGES
category rather than LC_ALL. glibc returns a composite name for the latter. * lib/util.c (init_locale): Return void instead of returning the result of setlocale. * 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 070201c2..380ad8ac 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 (void);
+extern void init_locale (void);
extern char *appendstr (char *, ...)
ATTRIBUTE_SENTINEL ATTRIBUTE_WARN_UNUSED_RESULT;