]> Savannah Git Hosting - gnulib.git/commit
Make generated .in.h files as standalone as possible.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Aug 2021 21:54:40 +0000 (23:54 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Aug 2021 21:54:40 +0000 (23:54 +0200)
commit354f27fea9bd4ecb53980de6bd374434a204afc5
treea44a75d96097c2ee3e2e679e55cba42f2bf39dc6
parent63f9565f371b2ad9060a0cfa4c40c90dfc4bd5e7
Make generated .in.h files as standalone as possible.

Reported by Jan Engelhardt <jengelh@inai.de>.

* lib/stdlib.in.h (_GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEALLOC_FREE,
_GL_ATTRIBUTE_MALLOC): Add fallback definitions.
* lib/dirent.in.h (_GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC): Add
fallback definitions.
* lib/stdio.in.h (_GL_ATTRIBUTE_DEALLOC): Add fallback definition.
* lib/math.in.h (_GL_ATTRIBUTE_CONST): Add fallback definition.
* lib/pthread.in.h (_GL_ATTRIBUTE_PURE): Add fallback definition.
* lib/threads.in.h (_GL_ATTRIBUTE_PURE): Likewise.
* lib/uchar.in.h (_GL_ATTRIBUTE_PURE): Likewise.
* lib/string.in.h (_GL_ATTRIBUTE_PURE): Move definition, for consistency
with the other *.in.h files.
* lib/se-context.in.h (_GL_ATTRIBUTE_MAYBE_UNUSED): Add fallback
definition.
* lib/se-label.in.h (_GL_ATTRIBUTE_MAYBE_UNUSED): Likewise.
* lib/se-selinux.in.h (_GL_ATTRIBUTE_MAYBE_UNUSED): Likewise.
* lib/textstyle.in.h: Use _GL_ATTRIBUTE_MAYBE_UNUSED instead of
_GL_UNUSED.
(_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, _GL_ATTRIBUTE_MAYBE_UNUSED): Add
fallback definitions.
13 files changed:
ChangeLog
lib/dirent.in.h
lib/math.in.h
lib/pthread.in.h
lib/se-context.in.h
lib/se-label.in.h
lib/se-selinux.in.h
lib/stdio.in.h
lib/stdlib.in.h
lib/string.in.h
lib/textstyle.in.h
lib/threads.in.h
lib/uchar.in.h