* loadmsgcat.c (_nl_load_domain): Move the call to
__libc_lock_define_initialized_recursive to the end of local
variable declarations to avoid extra ';' being expanded to an
empty statement.
Reported by pan7 in:
<http://savannah.gnu.org/support/?108864>.
+2015-08-21 Daiki Ueno <ueno@gnu.org>
+
+ intl: Pacify compilation with pre-C99 compilers
+ * loadmsgcat.c (_nl_load_domain): Move the call to
+ __libc_lock_define_initialized_recursive to the end of local
+ variable declarations to avoid extra ';' being expanded to an
+ empty statement.
+ Reported by pan7 in:
+ <http://savannah.gnu.org/support/?108864>.
+
2015-07-10 Daiki Ueno <ueno@gnu.org>
* gettext 0.19.5 released.
_nl_load_domain (struct loaded_l10nfile *domain_file,
struct binding *domainbinding)
{
- __libc_lock_define_initialized_recursive (static, lock);
int fd = -1;
size_t size;
#ifdef _LIBC
int revision;
const char *nullentry;
size_t nullentrylen;
+ __libc_lock_define_initialized_recursive (static, lock);
__libc_lock_lock_recursive (lock);
if (domain_file->decided != 0)