]> Savannah Git Hosting - gnulib.git/commit
regex: port __libc_lock_define usage to C89
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Jan 2013 15:59:12 +0000 (07:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Jan 2013 15:59:28 +0000 (07:59 -0800)
commit3ccb7f0727c5154ee91609f30b0fb62b94142c10
tree918c57f80c29066bd2275ebdb67270335f42a991
parent9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e
regex: port __libc_lock_define usage to C89

* lib/regex_internal.h (__libc_lock_define) [!_LIBC]: Remove.
(struct re_dfa_t): Use #ifdef instead.  '__libc_lock_define (, lock)'
does not conform to C89, as it has an empty macro argument.
Reported by Aharon Robbins in
<http://sourceware.org/ml/libc-alpha/2012-12/msg00456.html>.
ChangeLog
lib/regex_internal.h