From: Bruno Haible Date: Tue, 10 Jan 2006 13:47:47 +0000 (+0000) Subject: Assume ANSI C. X-Git-Tag: v0.15~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a8ff17b8a1142153771a8d72a1ac2075a4c26c;p=thirdparty%2Fgettext.git Assume ANSI C. --- diff --git a/gettext-runtime/intl/ChangeLog b/gettext-runtime/intl/ChangeLog index 129f7045b..88662cf75 100644 --- a/gettext-runtime/intl/ChangeLog +++ b/gettext-runtime/intl/ChangeLog @@ -1,3 +1,8 @@ +2006-01-10 Bruno Haible + + * localcharset.c: Assume ANSI C. Fixes a gcc warning. + Reported by Werner Lemberg . + 2005-12-25 Bruno Haible Fix compilation error when plural.c is generated by bison-2.1. diff --git a/gettext-runtime/intl/localcharset.c b/gettext-runtime/intl/localcharset.c index ffc5969e6..6c1d29398 100644 --- a/gettext-runtime/intl/localcharset.c +++ b/gettext-runtime/intl/localcharset.c @@ -1,6 +1,6 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2005 Free Software Foundation, Inc. + Copyright (C) 2000-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -107,7 +107,7 @@ static const char * volatile charset_aliases; /* Return a pointer to the contents of the charset.alias file. */ static const char * -get_charset_aliases () +get_charset_aliases (void) { const char *cp; @@ -287,7 +287,7 @@ get_charset_aliases () STATIC #endif const char * -locale_charset () +locale_charset (void) { const char *codeset; const char *aliases; diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 908978802..ce72ca9c2 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-01-10 Bruno Haible + + * localcharset.c: Assume ANSI C. Fixes a gcc warning. + Reported by Werner Lemberg . + 2005-12-29 Bruno Haible * progreloc.c (set_program_name_and_installdir): Fix compilation error. diff --git a/gettext-tools/lib/localcharset.c b/gettext-tools/lib/localcharset.c index ffc5969e6..6c1d29398 100644 --- a/gettext-tools/lib/localcharset.c +++ b/gettext-tools/lib/localcharset.c @@ -1,6 +1,6 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2005 Free Software Foundation, Inc. + Copyright (C) 2000-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -107,7 +107,7 @@ static const char * volatile charset_aliases; /* Return a pointer to the contents of the charset.alias file. */ static const char * -get_charset_aliases () +get_charset_aliases (void) { const char *cp; @@ -287,7 +287,7 @@ get_charset_aliases () STATIC #endif const char * -locale_charset () +locale_charset (void) { const char *codeset; const char *aliases;