summaryrefslogtreecommitdiff
path: root/src/xlibi18n/lcWrap.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-28 20:31:42 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-28 20:31:42 -0200
commit8ba0ca32a63c532f128bdca7f1bf982cab8e12be (patch)
tree70a043f6c9c64c0345b6b32db026b0e201d53890 /src/xlibi18n/lcWrap.c
parent091c1624fd2f9d933329d6152e4ecd865aa7903a (diff)
Janitor: ansification, make distcheck, compiler warnings.
Only convert to use "ansi prototypes" the functions warned from compilation with "./autogen.sh --prefix=/usr", on a Linux computer. Also, only address "trivial" compiler warning fixes in this commit. The new .gitignore is the output of a command like: % find . -name .gitignore -exec cat {} \; | sort | uniq and only the toplevel .gitignore file was kept.
Diffstat (limited to 'src/xlibi18n/lcWrap.c')
-rw-r--r--src/xlibi18n/lcWrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xlibi18n/lcWrap.c b/src/xlibi18n/lcWrap.c
index 6ddad050..fc6e9556 100644
--- a/src/xlibi18n/lcWrap.c
+++ b/src/xlibi18n/lcWrap.c
@@ -96,7 +96,7 @@ XSetLocaleModifiers(
}
Bool
-XSupportsLocale()
+XSupportsLocale(void)
{
return _XlcCurrentLC() != (XLCd)NULL;
}
@@ -349,7 +349,7 @@ _XCloseLC(
*/
XLCd
-_XlcCurrentLC()
+_XlcCurrentLC(void)
{
XLCd lcd;
static XLCd last_lcd = NULL;
@@ -488,7 +488,7 @@ XwcFreeStringList(
}
const char *
-XDefaultString()
+XDefaultString(void)
{
XLCd lcd = _XlcCurrentLC();