]> Savannah Git Hosting - gnulib.git/commit
libc-config: merge from glibc
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Jun 2018 15:50:36 +0000 (08:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Jun 2018 15:52:38 +0000 (08:52 -0700)
commitd9443441ff5ceb940d62878d5e1c0dd1d1e8ac62
tree5c38a0f6cdfdd77f83e60b02aa9b9c06db80c164
parent7903cdbf6022f3f28a94d484926672e865311905
libc-config: merge from glibc

* lib/cdefs.h (__inline, __restrict):
Copy from current glibc.  This fixes glibc bug 17721,
which Gnulib had already fixed in a different way.
(__nonnull): Lessen the distance from glibc by using the
glibc definition inside an â€˜#ifndef __nonnull’.
(__attribute_nonstring__): New macro, copied from
current glibc.
* lib/libc-config.h (__attribute_nonstring__): New undef.
(__restrict): Remove; workaround no longer needed.
Keep the __inline workaround, though, as it uses HAVE___INLINE to
support more compilers than the glibc __inline can.
ChangeLog
lib/cdefs.h
lib/libc-config.h