mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
Add more reminders to include <config.h>.
* m4/gnulib-common.m4 (gl_COMMON): In config.h, define _GL_CONFIG_H_INCLUDED. * lib/acl-internal.h: Test _GL_CONFIG_H_INCLUDED instead of _GL_INLINE_HEADER_BEGIN. * lib/alignalloc.h: Likewise. * lib/argp-fmtstream.h: Likewise. * lib/argp.h: Likewise. * lib/binary-io.h: Likewise. * lib/bitrotate.h: Likewise. * lib/c-ctype.h: Likewise. * lib/count-leading-zeros.h: Likewise. * lib/count-one-bits.h: Likewise. * lib/count-trailing-zeros.h: Likewise. * lib/eealloc.h: Likewise. * lib/execinfo.in.h: Likewise. * lib/gethrxtime.h: Likewise. * lib/gl_list.h: Likewise. * lib/gl_map.h: Likewise. * lib/gl_omap.h: Likewise. * lib/gl_openssl.h: Likewise. * lib/gl_oset.h: Likewise. * lib/gl_set.h: Likewise. * lib/gl_xlist.h: Likewise. * lib/gl_xmap.h: Likewise. * lib/gl_xomap.h: Likewise. * lib/gl_xoset.h: Likewise. * lib/gl_xset.h: Likewise. * lib/gl_xsublist.h: Likewise. * lib/glthread/cond.h: Likewise. * lib/hamt.h: Likewise. * lib/ialloc.h: Likewise. * lib/math.in.h: Likewise. * lib/mbchar.h: Likewise. * lib/mbfile.h: Likewise. * lib/mbiter.h: Likewise. * lib/mbuiter.h: Likewise. * lib/openat.h: Likewise. * lib/pipe-filter-aux.h: Likewise. * lib/priv-set.h: Likewise. * lib/safe-alloc.h: Likewise. * lib/savewd.h: Likewise. * lib/se-context.in.h: Likewise. * lib/se-label.in.h: Likewise. * lib/se-selinux.in.h: Likewise. * lib/sig-handler.h: Likewise. * lib/stat-time.h: Likewise. * lib/string-desc-quotearg.h: Likewise. * lib/string-desc.h: Likewise. * lib/sys_socket.in.h: Likewise. * lib/timespec.h: Likewise. * lib/u64.h: Likewise. * lib/uchar.in.h: Likewise. * lib/unistd.in.h: Likewise. * lib/utimens.h: Likewise. * lib/wctype.in.h: Likewise. * lib/xalloc.h: Likewise. * lib/xbinary-io.h: Likewise. * lib/xsize.h: Likewise. * lib/xstring-desc.h: Likewise. * lib/xtime.h: Likewise. * lib/acl.h: Check that config.h was already included. * lib/alignof.h: Likewise. * lib/argmatch.h: Likewise. * lib/argv-iter.h: Likewise. * lib/arpa_inet.in.h: Likewise. * lib/attribute.h: Likewise. * lib/backupfile.h: Likewise. * lib/base32.h: Likewise. * lib/base64.h: Likewise. * lib/basename-lgpl.h: Likewise. * lib/bitset.h: Likewise. * lib/bitsetv.h: Likewise. * lib/c-snprintf.h: Likewise. * lib/c-stack.h: Likewise. * lib/c-strcase.h: Likewise. * lib/c-vasnprintf.h: Likewise. * lib/c-vasprintf.h: Likewise. * lib/c-vsnprintf.h: Likewise. * lib/c-xvasprintf.h: Likewise. * lib/canon-host.h: Likewise. * lib/canonicalize.h: Likewise. * lib/clean-temp.h: Likewise. * lib/concat-filename.h: Likewise. * lib/ctype.in.h: Likewise. * lib/dfa.h: Likewise. * lib/di-set.h: Likewise. * lib/dirent-safer.h: Likewise. * lib/dirent.in.h: Likewise. * lib/dirname.h: Likewise. * lib/eloop-threshold.h: Likewise. * lib/error.in.h: Likewise. * lib/exclude.h: Likewise. * lib/fatal-signal.h: Likewise. * lib/fcntl.in.h: Likewise. * lib/file-type.h: Likewise. * lib/filenamecat.h: Likewise. * lib/filevercmp.h: Likewise. * lib/flexmember.h: Likewise. * lib/fnmatch.in.h: Likewise. * lib/fpending.h: Likewise. * lib/freadable.h: Likewise. * lib/freadahead.h: Likewise. * lib/freading.h: Likewise. * lib/fts_.h: Likewise. * lib/fwritable.h: Likewise. * lib/fwriting.h: Likewise. * lib/gc.h: Likewise. * lib/get_progname_of.h: Likewise. * lib/glob.in.h: Likewise. * lib/glthread/thread.h: Likewise. * lib/hash-pjw-bare.h: Likewise. * lib/hash-pjw.h: Likewise. * lib/hash-triple.h: Likewise. * lib/hash.h: Likewise. * lib/i-ring.h: Likewise. * lib/iconv.in.h: Likewise. * lib/ino-map.h: Likewise. * lib/inttostr.h: Likewise. * lib/inttypes.in.h: Likewise. * lib/javaversion.h: Likewise. * lib/langinfo.in.h: Likewise. * lib/locale.in.h: Likewise. * lib/localename.h: Likewise. * lib/malloc.in.h: Likewise. * lib/malloca.h: Likewise. * lib/memcasecmp.h: Likewise. * lib/memchr2.h: Likewise. * lib/memcmp2.h: Likewise. * lib/modechange.h: Likewise. * lib/monetary.in.h: Likewise. * lib/mountlist.h: Likewise. * lib/netdb.in.h: Likewise. * lib/obstack.h: Likewise. * lib/opendirat.h: Likewise. * lib/pagealign_alloc.h: Likewise. * lib/pipe-filter.h: Likewise. * lib/poll.in.h: Likewise. * lib/pthread.in.h: Likewise. * lib/pty.in.h: Likewise. * lib/quotearg.h: Likewise. * lib/read-file.h: Likewise. * lib/readline.h: Likewise. * lib/readutmp.h: Likewise. * lib/regex-quote.h: Likewise. * lib/relocatable.h: Likewise. * lib/savedir.h: Likewise. * lib/sched.in.h: Likewise. * lib/search.in.h: Likewise. * lib/sh-quote.h: Likewise. * lib/signal.in.h: Likewise. * lib/sigpipe-die.h: Likewise. * lib/sockets.h: Likewise. * lib/spawn.in.h: Likewise. * lib/ssfmalloc.h: Likewise. * lib/stack.h: Likewise. * lib/stdalign.in.h: Likewise. * lib/stdarg.in.h: Likewise. * lib/stddef.in.h: Likewise. * lib/stdio-safer.h: Likewise. * lib/stdio.in.h: Likewise. * lib/stdlib.in.h: Likewise. * lib/stdnoreturn.in.h: Likewise. * lib/strerror-override.h: Likewise. * lib/striconv.h: Likewise. * lib/striconveh.h: Likewise. * lib/striconveha.h: Likewise. * lib/string-buffer.h: Likewise. * lib/string.in.h: Likewise. * lib/strings.in.h: Likewise. * lib/strnlen1.h: Likewise. * lib/sys_file.in.h: Likewise. * lib/sys_ioctl.in.h: Likewise. * lib/sys_random.in.h: Likewise. * lib/sys_resource.in.h: Likewise. * lib/sys_select.in.h: Likewise. * lib/sys_stat.in.h: Likewise. * lib/sys_time.in.h: Likewise. * lib/sys_times.in.h: Likewise. * lib/sys_utsname.in.h: Likewise. * lib/sys_wait.in.h: Likewise. * lib/system-quote.h: Likewise. * lib/term-style-control.h: Likewise. * lib/termios.in.h: Likewise. * lib/textstyle.in.h: Likewise. * lib/threads.in.h: Likewise. * lib/time.in.h: Likewise. * lib/trim.h: Likewise. * lib/utime.in.h: Likewise. * lib/utmp.in.h: Likewise. * lib/vasnprintf.h: Likewise. * lib/verror.h: Likewise. * lib/version-etc.h: Likewise. * lib/wchar.in.h: Likewise. * lib/windows-spawn.h: Likewise. * lib/windows-thread.h: Likewise. * lib/xgetcwd.h: Likewise. * lib/xgetdomainname.h: Likewise. * lib/xgethostname.h: Likewise. * lib/xmalloca.h: Likewise. * lib/xmemdup0.h: Likewise. * lib/xprintf.h: Likewise. * lib/xreadlink.h: Likewise. * lib/xstriconv.h: Likewise. * lib/xstriconveh.h: Likewise. * lib/xstrndup.h: Likewise. * lib/xstrtol-error.h: Likewise. * lib/xvasprintf.h: Likewise. * Makefile (config_h_MACROS*): New variables. (sc_check_config_h_reminder): New rule.
This commit is contained in:
@@ -1,3 +1,216 @@
|
||||
2023-04-12 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Add more reminders to include <config.h>.
|
||||
* m4/gnulib-common.m4 (gl_COMMON): In config.h, define
|
||||
_GL_CONFIG_H_INCLUDED.
|
||||
* lib/acl-internal.h: Test _GL_CONFIG_H_INCLUDED instead of
|
||||
_GL_INLINE_HEADER_BEGIN.
|
||||
* lib/alignalloc.h: Likewise.
|
||||
* lib/argp-fmtstream.h: Likewise.
|
||||
* lib/argp.h: Likewise.
|
||||
* lib/binary-io.h: Likewise.
|
||||
* lib/bitrotate.h: Likewise.
|
||||
* lib/c-ctype.h: Likewise.
|
||||
* lib/count-leading-zeros.h: Likewise.
|
||||
* lib/count-one-bits.h: Likewise.
|
||||
* lib/count-trailing-zeros.h: Likewise.
|
||||
* lib/eealloc.h: Likewise.
|
||||
* lib/execinfo.in.h: Likewise.
|
||||
* lib/gethrxtime.h: Likewise.
|
||||
* lib/gl_list.h: Likewise.
|
||||
* lib/gl_map.h: Likewise.
|
||||
* lib/gl_omap.h: Likewise.
|
||||
* lib/gl_openssl.h: Likewise.
|
||||
* lib/gl_oset.h: Likewise.
|
||||
* lib/gl_set.h: Likewise.
|
||||
* lib/gl_xlist.h: Likewise.
|
||||
* lib/gl_xmap.h: Likewise.
|
||||
* lib/gl_xomap.h: Likewise.
|
||||
* lib/gl_xoset.h: Likewise.
|
||||
* lib/gl_xset.h: Likewise.
|
||||
* lib/gl_xsublist.h: Likewise.
|
||||
* lib/glthread/cond.h: Likewise.
|
||||
* lib/hamt.h: Likewise.
|
||||
* lib/ialloc.h: Likewise.
|
||||
* lib/math.in.h: Likewise.
|
||||
* lib/mbchar.h: Likewise.
|
||||
* lib/mbfile.h: Likewise.
|
||||
* lib/mbiter.h: Likewise.
|
||||
* lib/mbuiter.h: Likewise.
|
||||
* lib/openat.h: Likewise.
|
||||
* lib/pipe-filter-aux.h: Likewise.
|
||||
* lib/priv-set.h: Likewise.
|
||||
* lib/safe-alloc.h: Likewise.
|
||||
* lib/savewd.h: Likewise.
|
||||
* lib/se-context.in.h: Likewise.
|
||||
* lib/se-label.in.h: Likewise.
|
||||
* lib/se-selinux.in.h: Likewise.
|
||||
* lib/sig-handler.h: Likewise.
|
||||
* lib/stat-time.h: Likewise.
|
||||
* lib/string-desc-quotearg.h: Likewise.
|
||||
* lib/string-desc.h: Likewise.
|
||||
* lib/sys_socket.in.h: Likewise.
|
||||
* lib/timespec.h: Likewise.
|
||||
* lib/u64.h: Likewise.
|
||||
* lib/uchar.in.h: Likewise.
|
||||
* lib/unistd.in.h: Likewise.
|
||||
* lib/utimens.h: Likewise.
|
||||
* lib/wctype.in.h: Likewise.
|
||||
* lib/xalloc.h: Likewise.
|
||||
* lib/xbinary-io.h: Likewise.
|
||||
* lib/xsize.h: Likewise.
|
||||
* lib/xstring-desc.h: Likewise.
|
||||
* lib/xtime.h: Likewise.
|
||||
* lib/acl.h: Check that config.h was already included.
|
||||
* lib/alignof.h: Likewise.
|
||||
* lib/argmatch.h: Likewise.
|
||||
* lib/argv-iter.h: Likewise.
|
||||
* lib/arpa_inet.in.h: Likewise.
|
||||
* lib/attribute.h: Likewise.
|
||||
* lib/backupfile.h: Likewise.
|
||||
* lib/base32.h: Likewise.
|
||||
* lib/base64.h: Likewise.
|
||||
* lib/basename-lgpl.h: Likewise.
|
||||
* lib/bitset.h: Likewise.
|
||||
* lib/bitsetv.h: Likewise.
|
||||
* lib/c-snprintf.h: Likewise.
|
||||
* lib/c-stack.h: Likewise.
|
||||
* lib/c-strcase.h: Likewise.
|
||||
* lib/c-vasnprintf.h: Likewise.
|
||||
* lib/c-vasprintf.h: Likewise.
|
||||
* lib/c-vsnprintf.h: Likewise.
|
||||
* lib/c-xvasprintf.h: Likewise.
|
||||
* lib/canon-host.h: Likewise.
|
||||
* lib/canonicalize.h: Likewise.
|
||||
* lib/clean-temp.h: Likewise.
|
||||
* lib/concat-filename.h: Likewise.
|
||||
* lib/ctype.in.h: Likewise.
|
||||
* lib/dfa.h: Likewise.
|
||||
* lib/di-set.h: Likewise.
|
||||
* lib/dirent-safer.h: Likewise.
|
||||
* lib/dirent.in.h: Likewise.
|
||||
* lib/dirname.h: Likewise.
|
||||
* lib/eloop-threshold.h: Likewise.
|
||||
* lib/error.in.h: Likewise.
|
||||
* lib/exclude.h: Likewise.
|
||||
* lib/fatal-signal.h: Likewise.
|
||||
* lib/fcntl.in.h: Likewise.
|
||||
* lib/file-type.h: Likewise.
|
||||
* lib/filenamecat.h: Likewise.
|
||||
* lib/filevercmp.h: Likewise.
|
||||
* lib/flexmember.h: Likewise.
|
||||
* lib/fnmatch.in.h: Likewise.
|
||||
* lib/fpending.h: Likewise.
|
||||
* lib/freadable.h: Likewise.
|
||||
* lib/freadahead.h: Likewise.
|
||||
* lib/freading.h: Likewise.
|
||||
* lib/fts_.h: Likewise.
|
||||
* lib/fwritable.h: Likewise.
|
||||
* lib/fwriting.h: Likewise.
|
||||
* lib/gc.h: Likewise.
|
||||
* lib/get_progname_of.h: Likewise.
|
||||
* lib/glob.in.h: Likewise.
|
||||
* lib/glthread/thread.h: Likewise.
|
||||
* lib/hash-pjw-bare.h: Likewise.
|
||||
* lib/hash-pjw.h: Likewise.
|
||||
* lib/hash-triple.h: Likewise.
|
||||
* lib/hash.h: Likewise.
|
||||
* lib/i-ring.h: Likewise.
|
||||
* lib/iconv.in.h: Likewise.
|
||||
* lib/ino-map.h: Likewise.
|
||||
* lib/inttostr.h: Likewise.
|
||||
* lib/inttypes.in.h: Likewise.
|
||||
* lib/javaversion.h: Likewise.
|
||||
* lib/langinfo.in.h: Likewise.
|
||||
* lib/locale.in.h: Likewise.
|
||||
* lib/localename.h: Likewise.
|
||||
* lib/malloc.in.h: Likewise.
|
||||
* lib/malloca.h: Likewise.
|
||||
* lib/memcasecmp.h: Likewise.
|
||||
* lib/memchr2.h: Likewise.
|
||||
* lib/memcmp2.h: Likewise.
|
||||
* lib/modechange.h: Likewise.
|
||||
* lib/monetary.in.h: Likewise.
|
||||
* lib/mountlist.h: Likewise.
|
||||
* lib/netdb.in.h: Likewise.
|
||||
* lib/obstack.h: Likewise.
|
||||
* lib/opendirat.h: Likewise.
|
||||
* lib/pagealign_alloc.h: Likewise.
|
||||
* lib/pipe-filter.h: Likewise.
|
||||
* lib/poll.in.h: Likewise.
|
||||
* lib/pthread.in.h: Likewise.
|
||||
* lib/pty.in.h: Likewise.
|
||||
* lib/quotearg.h: Likewise.
|
||||
* lib/read-file.h: Likewise.
|
||||
* lib/readline.h: Likewise.
|
||||
* lib/readutmp.h: Likewise.
|
||||
* lib/regex-quote.h: Likewise.
|
||||
* lib/relocatable.h: Likewise.
|
||||
* lib/savedir.h: Likewise.
|
||||
* lib/sched.in.h: Likewise.
|
||||
* lib/search.in.h: Likewise.
|
||||
* lib/sh-quote.h: Likewise.
|
||||
* lib/signal.in.h: Likewise.
|
||||
* lib/sigpipe-die.h: Likewise.
|
||||
* lib/sockets.h: Likewise.
|
||||
* lib/spawn.in.h: Likewise.
|
||||
* lib/ssfmalloc.h: Likewise.
|
||||
* lib/stack.h: Likewise.
|
||||
* lib/stdalign.in.h: Likewise.
|
||||
* lib/stdarg.in.h: Likewise.
|
||||
* lib/stddef.in.h: Likewise.
|
||||
* lib/stdio-safer.h: Likewise.
|
||||
* lib/stdio.in.h: Likewise.
|
||||
* lib/stdlib.in.h: Likewise.
|
||||
* lib/stdnoreturn.in.h: Likewise.
|
||||
* lib/strerror-override.h: Likewise.
|
||||
* lib/striconv.h: Likewise.
|
||||
* lib/striconveh.h: Likewise.
|
||||
* lib/striconveha.h: Likewise.
|
||||
* lib/string-buffer.h: Likewise.
|
||||
* lib/string.in.h: Likewise.
|
||||
* lib/strings.in.h: Likewise.
|
||||
* lib/strnlen1.h: Likewise.
|
||||
* lib/sys_file.in.h: Likewise.
|
||||
* lib/sys_ioctl.in.h: Likewise.
|
||||
* lib/sys_random.in.h: Likewise.
|
||||
* lib/sys_resource.in.h: Likewise.
|
||||
* lib/sys_select.in.h: Likewise.
|
||||
* lib/sys_stat.in.h: Likewise.
|
||||
* lib/sys_time.in.h: Likewise.
|
||||
* lib/sys_times.in.h: Likewise.
|
||||
* lib/sys_utsname.in.h: Likewise.
|
||||
* lib/sys_wait.in.h: Likewise.
|
||||
* lib/system-quote.h: Likewise.
|
||||
* lib/term-style-control.h: Likewise.
|
||||
* lib/termios.in.h: Likewise.
|
||||
* lib/textstyle.in.h: Likewise.
|
||||
* lib/threads.in.h: Likewise.
|
||||
* lib/time.in.h: Likewise.
|
||||
* lib/trim.h: Likewise.
|
||||
* lib/utime.in.h: Likewise.
|
||||
* lib/utmp.in.h: Likewise.
|
||||
* lib/vasnprintf.h: Likewise.
|
||||
* lib/verror.h: Likewise.
|
||||
* lib/version-etc.h: Likewise.
|
||||
* lib/wchar.in.h: Likewise.
|
||||
* lib/windows-spawn.h: Likewise.
|
||||
* lib/windows-thread.h: Likewise.
|
||||
* lib/xgetcwd.h: Likewise.
|
||||
* lib/xgetdomainname.h: Likewise.
|
||||
* lib/xgethostname.h: Likewise.
|
||||
* lib/xmalloca.h: Likewise.
|
||||
* lib/xmemdup0.h: Likewise.
|
||||
* lib/xprintf.h: Likewise.
|
||||
* lib/xreadlink.h: Likewise.
|
||||
* lib/xstriconv.h: Likewise.
|
||||
* lib/xstriconveh.h: Likewise.
|
||||
* lib/xstrndup.h: Likewise.
|
||||
* lib/xstrtol-error.h: Likewise.
|
||||
* lib/xvasprintf.h: Likewise.
|
||||
* Makefile (config_h_MACROS*): New variables.
|
||||
(sc_check_config_h_reminder): New rule.
|
||||
|
||||
2023-04-11 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
doc: update year2038 list further
|
||||
|
||||
@@ -138,6 +138,95 @@ sc_check_sym_list:
|
||||
<(sed -n /^_intprops_name/,/^_intprops_syms_re/p top/maint.mk \
|
||||
|sed '/^_/d;s/^ //;s/ *\\$$//')
|
||||
|
||||
|
||||
# List of C macros defined through AH_VERBATIM in m4/extern-inline.m4:
|
||||
config_h_MACROS1 = \
|
||||
_GL_INLINE \
|
||||
_GL_EXTERN_INLINE \
|
||||
_GL_INLINE_HEADER_BEGIN \
|
||||
_GL_INLINE_HEADER_END
|
||||
# List of C macros defined through AH_VERBATIM in m4/gnulib-common.m4:
|
||||
config_h_MACROS2 = \
|
||||
_GL_GNUC_PREREQ \
|
||||
_Noreturn \
|
||||
_GL_ATTRIBUTE_ALLOC_SIZE \
|
||||
_GL_ATTRIBUTE_ALWAYS_INLINE \
|
||||
_GL_ATTRIBUTE_ARTIFICIAL \
|
||||
_GL_ATTRIBUTE_COLD \
|
||||
_GL_ATTRIBUTE_CONST \
|
||||
_GL_ATTRIBUTE_DEALLOC \
|
||||
_GL_ATTRIBUTE_DEPRECATED \
|
||||
_GL_ATTRIBUTE_ERROR \
|
||||
_GL_ATTRIBUTE_WARNING \
|
||||
_GL_ATTRIBUTE_EXTERNALLY_VISIBLE \
|
||||
_GL_ATTRIBUTE_FALLTHROUGH \
|
||||
_GL_ATTRIBUTE_FORMAT \
|
||||
_GL_ATTRIBUTE_LEAF \
|
||||
_GL_ATTRIBUTE_MALLOC \
|
||||
_GL_ATTRIBUTE_MAY_ALIAS \
|
||||
_GL_ATTRIBUTE_MAYBE_UNUSED \
|
||||
_GL_UNUSED \
|
||||
_GL_ATTRIBUTE_NODISCARD \
|
||||
_GL_ATTRIBUTE_NOINLINE \
|
||||
_GL_ATTRIBUTE_NONNULL \
|
||||
_GL_ATTRIBUTE_NONSTRING \
|
||||
_GL_ATTRIBUTE_NOTHROW \
|
||||
_GL_ATTRIBUTE_PACKED \
|
||||
_GL_ATTRIBUTE_PURE \
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL \
|
||||
_GL_ATTRIBUTE_SENTINEL \
|
||||
_GL_ATTRIBUTE_UNUSED \
|
||||
_GL_UNUSED_LABEL \
|
||||
_GL_BEGIN_C_LINKAGE \
|
||||
_GL_END_C_LINKAGE \
|
||||
_GL_ASYNC_SAFE \
|
||||
_GL_CMP
|
||||
# List of C macros defined through AH_VERBATIM in m4/nullptr.m4:
|
||||
config_h_MACROS3 = \
|
||||
nullptr
|
||||
# List of C macros defined through AH_VERBATIM in m4/posixcheck.m4:
|
||||
config_h_MACROS4 = \
|
||||
GNULIB_POSIXCHECK
|
||||
# List of C macros defined through AH_VERBATIM in m4/sh-filename.m4:
|
||||
config_h_MACROS5 = \
|
||||
BOURNE_SHELL
|
||||
# List of C macros defined through AH_VERBATIM in m4/stdalign.m4:
|
||||
config_h_MACROS6 = \
|
||||
alignof \
|
||||
alignas
|
||||
# List of C macros defined through AH_VERBATIM in m4/stdarg.m4:
|
||||
config_h_MACROS7 = \
|
||||
va_copy
|
||||
# List of C macros defined through AH_VERBATIM in m4/threads_h.m4:
|
||||
config_h_MACROS8 = \
|
||||
_Thread_local
|
||||
# List of C macros defined through AH_VERBATIM (only the most important ones):
|
||||
config_h_MACROS = \
|
||||
$(config_h_MACROS1) $(config_h_MACROS2) $(config_h_MACROS3) \
|
||||
$(config_h_MACROS4) $(config_h_MACROS5) $(config_h_MACROS6) \
|
||||
$(config_h_MACROS7) $(config_h_MACROS8)
|
||||
|
||||
# Ensure that .h files that use macros from config.h contain a reminder to
|
||||
# include <config.h>.
|
||||
sc_check_config_h_reminder:
|
||||
fail=0; \
|
||||
for file in `grep -l -F -w -f <(for macro in $(config_h_MACROS); do echo $$macro; done) lib/*.h lib/*/*.h`; do \
|
||||
: "Filter out .h files that are not public header files of their respective module."; \
|
||||
include_pattern='[<"]'`echo $$file | sed -e 's,^lib/,,' -e 's,[.]in[.]h,.h,' -e 's,_,[/_],g' -e 's,[.],[.],g'`'[>"]' ; \
|
||||
if ./gnulib-tool --extract-include-directive `./gnulib-tool --find $$file` | grep "$$include_pattern" >/dev/null; then \
|
||||
grep '# *error "Please include config[.]h first[.]"' $$file >/dev/null \
|
||||
|| { echo -n "File $$file lacks a config.h reminder. Needed for:"; \
|
||||
for macro in $(config_h_MACROS); do \
|
||||
if grep -F -w $$macro $$file >/dev/null; then echo -n " $$macro"; fi; \
|
||||
done; \
|
||||
echo; \
|
||||
fail=1; \
|
||||
}; \
|
||||
fi; \
|
||||
done; \
|
||||
exit $$fail
|
||||
|
||||
|
||||
# Ensure that the copyright statements in files and in the module descriptions
|
||||
# are consistent.
|
||||
sc_check_copyright:
|
||||
|
||||
+5
-3
@@ -17,6 +17,11 @@
|
||||
|
||||
Written by Paul Eggert, Andreas Grünbacher, and Bruno Haible. */
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "acl.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
@@ -60,9 +65,6 @@ extern int aclsort (int, int, struct acl *);
|
||||
# define fchmod(fd, mode) (-1)
|
||||
#endif
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef ACL_INTERNAL_INLINE
|
||||
# define ACL_INTERNAL_INLINE _GL_INLINE
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
#ifndef _GL_ACL_H
|
||||
#define _GL_ACL_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
||||
+6
-3
@@ -20,13 +20,16 @@
|
||||
#ifndef ALIGNALLOC_H_
|
||||
#define ALIGNALLOC_H_
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_ALLOC_SIZE,
|
||||
_GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include "idx.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef ALIGNALLOC_INLINE
|
||||
# define ALIGNALLOC_INLINE _GL_INLINE
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _ALIGNOF_H
|
||||
#define _ALIGNOF_H
|
||||
|
||||
/* This file uses alignof. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* alignof_slot (TYPE)
|
||||
|
||||
@@ -22,6 +22,11 @@
|
||||
#ifndef ARGMATCH_H_
|
||||
# define ARGMATCH_H_ 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# include <limits.h>
|
||||
# include <stddef.h>
|
||||
# include <stdio.h>
|
||||
|
||||
@@ -24,6 +24,12 @@
|
||||
#ifndef _ARGP_FMTSTREAM_H
|
||||
#define _ARGP_FMTSTREAM_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, __GL_INLINE, _GL_ATTRIBUTE_DEALLOC,
|
||||
_GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_LIBC && !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
@@ -187,9 +193,6 @@ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
|
||||
#define __argp_fmtstream_point argp_fmtstream_point
|
||||
#define __argp_fmtstream_update _argp_fmtstream_update
|
||||
#define __argp_fmtstream_ensure _argp_fmtstream_ensure
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef ARGP_FS_EI
|
||||
# define ARGP_FS_EI _GL_INLINE
|
||||
|
||||
+5
-3
@@ -19,6 +19,11 @@
|
||||
#ifndef _ARGP_H
|
||||
#define _ARGP_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_LIBC && !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <getopt.h>
|
||||
@@ -590,9 +595,6 @@ extern void *__argp_input (const struct argp *__restrict __argp,
|
||||
# define __argp_state_help argp_state_help
|
||||
# define __option_is_short _option_is_short
|
||||
# define __option_is_end _option_is_end
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
# ifndef ARGP_EI
|
||||
# define ARGP_EI _GL_INLINE
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Definition of _GL_ARG_NONNULL. */
|
||||
|
||||
@@ -49,6 +49,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_ARPA_INET_H
|
||||
#define _@GUARD_PREFIX@_ARPA_INET_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get all possible declarations of inet_ntop() and inet_pton(). */
|
||||
#if (@GNULIB_INET_NTOP@ || @GNULIB_INET_PTON@ || defined GNULIB_POSIXCHECK) \
|
||||
&& @HAVE_WS2TCPIP_H@
|
||||
|
||||
@@ -41,6 +41,21 @@
|
||||
These names begin with 'ATTRIBUTE_' to avoid name clashes. */
|
||||
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_ALWAYS_INLINE,
|
||||
_GL_ATTRIBUTE_ARTIFICIAL, _GL_ATTRIBUTE_COLD, _GL_ATTRIBUTE_CONST,
|
||||
_GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEPRECATED, _GL_ATTRIBUTE_ERROR,
|
||||
_GL_ATTRIBUTE_WARNING, _GL_ATTRIBUTE_EXTERNALLY_VISIBLE,
|
||||
_GL_ATTRIBUTE_FALLTHROUGH, _GL_ATTRIBUTE_FORMAT, _GL_ATTRIBUTE_LEAF,
|
||||
_GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_MAY_ALIAS, _GL_ATTRIBUTE_MAYBE_UNUSED,
|
||||
_GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_NOINLINE, _GL_ATTRIBUTE_NONNULL,
|
||||
_GL_ATTRIBUTE_NONSTRING, _GL_ATTRIBUTE_NOTHROW, _GL_ATTRIBUTE_PACKED,
|
||||
_GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_RETURNS_NONNULL,
|
||||
_GL_ATTRIBUTE_SENTINEL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
|
||||
/* =============== Attributes for specific kinds of functions =============== */
|
||||
|
||||
/* Attributes for functions that should not be used. */
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef BACKUPFILE_H_
|
||||
#define BACKUPFILE_H_
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get AT_FDCWD, as a convenience for users of this file. */
|
||||
#include <fcntl.h>
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef BASE32_H
|
||||
# define BASE32_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get idx_t. */
|
||||
# include <idx.h>
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef BASE64_H
|
||||
# define BASE64_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get idx_t. */
|
||||
# include <idx.h>
|
||||
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef _BASENAME_LGPL_H
|
||||
#define _BASENAME_LGPL_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT
|
||||
|
||||
+5
-3
@@ -17,6 +17,11 @@
|
||||
#ifndef _BINARY_H
|
||||
#define _BINARY_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_UNUSED. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* For systems that distinguish between text and binary I/O.
|
||||
O_BINARY is guaranteed by the gnulib <fcntl.h>. */
|
||||
#include <fcntl.h>
|
||||
@@ -25,9 +30,6 @@
|
||||
so we include it here first. */
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef BINARY_IO_INLINE
|
||||
# define BINARY_IO_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -19,13 +19,15 @@
|
||||
#ifndef _GL_BITROTATE_H
|
||||
#define _GL_BITROTATE_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef BITROTATE_INLINE
|
||||
# define BITROTATE_INLINE _GL_INLINE
|
||||
|
||||
@@ -23,6 +23,11 @@
|
||||
/* This file is the public interface to the bitset abstract data type.
|
||||
Only use the functions and macros defined in this file. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#if USE_UNLOCKED_IO
|
||||
# include "unlocked-io.h"
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
#ifndef _BITSETV_H
|
||||
#define _BITSETV_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "bitset.h"
|
||||
|
||||
typedef bitset * bitsetv;
|
||||
|
||||
+3
-1
@@ -23,9 +23,11 @@
|
||||
#ifndef C_CTYPE_H
|
||||
#define C_CTYPE_H
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef C_CTYPE_INLINE
|
||||
# define C_CTYPE_INLINE _GL_INLINE
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _C_SNPRINTF_H
|
||||
#define _C_SNPRINTF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get size_t. */
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
+7
-2
@@ -15,6 +15,11 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ASYNC_SAFE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
@@ -52,6 +57,6 @@ extern "C"
|
||||
|
||||
extern int c_stack_action (_GL_ASYNC_SAFE void (* /*action*/) (int));
|
||||
|
||||
# ifdef __cplusplus
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef C_STRCASE_H
|
||||
#define C_STRCASE_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _C_VASNPRINTF_H
|
||||
#define _C_VASNPRINTF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get va_list. */
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _C_VASPRINTF_H
|
||||
#define _C_VASPRINTF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get va_list. */
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _C_VSNPRINTF_H
|
||||
#define _C_VSNPRINTF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get size_t. */
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _C_XVASPRINTF_H
|
||||
#define _C_XVASPRINTF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT, _GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get va_list. */
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
#ifndef CANON_HOST_H
|
||||
# define CANON_HOST_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# include <stdlib.h>
|
||||
|
||||
char *canon_host (char const *host)
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef CANONICALIZE_H_
|
||||
# define CANONICALIZE_H_
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> /* for canonicalize_file_name */
|
||||
|
||||
#define CAN_MODE_MASK (CAN_EXISTING | CAN_ALL_BUT_LAST | CAN_MISSING)
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef _CLEAN_TEMP_H
|
||||
#define _CLEAN_TEMP_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _CONCAT_FILENAME_H
|
||||
#define _CONCAT_FILENAME_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -19,12 +19,14 @@
|
||||
#ifndef COUNT_LEADING_ZEROS_H
|
||||
#define COUNT_LEADING_ZEROS_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef COUNT_LEADING_ZEROS_INLINE
|
||||
# define COUNT_LEADING_ZEROS_INLINE _GL_INLINE
|
||||
|
||||
@@ -19,12 +19,14 @@
|
||||
#ifndef COUNT_ONE_BITS_H
|
||||
#define COUNT_ONE_BITS_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef COUNT_ONE_BITS_INLINE
|
||||
# define COUNT_ONE_BITS_INLINE _GL_INLINE
|
||||
|
||||
@@ -19,12 +19,14 @@
|
||||
#ifndef COUNT_TRAILING_ZEROS_H
|
||||
#define COUNT_TRAILING_ZEROS_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef COUNT_TRAILING_ZEROS_INLINE
|
||||
# define COUNT_TRAILING_ZEROS_INLINE _GL_INLINE
|
||||
|
||||
@@ -36,6 +36,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_CTYPE_H
|
||||
#define _@GUARD_PREFIX@_CTYPE_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
||||
|
||||
/* The definition of _GL_WARN_ON_USE is copied here. */
|
||||
|
||||
@@ -21,6 +21,12 @@
|
||||
#ifndef DFA_H_
|
||||
#define DFA_H_
|
||||
|
||||
/* This file uses _Noreturn, _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC,
|
||||
_GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "idx.h"
|
||||
#include <regex.h>
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
#ifndef _GL_DI_SET_H
|
||||
# define _GL_DI_SET_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC,
|
||||
_GL_ATTRIBUTE_NONNULL. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# include <sys/types.h>
|
||||
|
||||
struct di_set;
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
|
||||
/* Written by Eric Blake. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -29,6 +29,12 @@
|
||||
#ifndef _@GUARD_PREFIX@_DIRENT_H
|
||||
#define _@GUARD_PREFIX@_DIRENT_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC,
|
||||
_GL_ATTRIBUTE_PURE, GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get ino_t. Needed on some systems, including glibc 2.8. */
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
#ifndef DIRNAME_H_
|
||||
# define DIRNAME_H_ 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_PURE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
# include <stdlib.h>
|
||||
# include "filename.h"
|
||||
# include "basename-lgpl.h"
|
||||
|
||||
+6
-3
@@ -29,11 +29,14 @@
|
||||
and realloc() this way; on such platforms the workalikes are aliased
|
||||
to the original malloc()/realloc() functions. */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_ALLOC_SIZE,
|
||||
_GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef EEALLOC_INLINE
|
||||
# define EEALLOC_INLINE _GL_INLINE
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef _ELOOP_THRESHOLD_H
|
||||
#define _ELOOP_THRESHOLD_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
#if !_LIBC && !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#ifdef _LIBC
|
||||
# include <sys/param.h>
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_ERROR_H
|
||||
#define _@GUARD_PREFIX@_ERROR_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_FORMAT. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Get _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM. */
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
#ifndef _GL_EXCLUDE_H
|
||||
#define _GL_EXCLUDE_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC,
|
||||
_GL_ATTRIBUTE_NONNULL, _GL_ATTRIBUTE_PURE, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Written by Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
+3
-1
@@ -20,9 +20,11 @@
|
||||
#ifndef _GL_EXECINFO_H
|
||||
#define _GL_EXECINFO_H
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef _GL_EXECINFO_INLINE
|
||||
# define _GL_EXECINFO_INLINE _GL_INLINE
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef _FATAL_SIGNAL_H
|
||||
#define _FATAL_SIGNAL_H
|
||||
|
||||
/* This file uses _GL_ASYNC_SAFE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -74,6 +74,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_FCNTL_H
|
||||
#define _@GUARD_PREFIX@_FCNTL_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
#ifndef FILE_TYPE_H
|
||||
# define FILE_TYPE_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
|
||||
/* Written by Jim Meyering. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if GNULIB_FILENAMECAT
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
#ifndef FILEVERCMP_H
|
||||
#define FILEVERCMP_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* Compare strings A and B as file names containing version numbers,
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
|
||||
Written by Paul Eggert. */
|
||||
|
||||
/* This file uses _Alignof. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* Nonzero multiple of alignment of TYPE, suitable for FLEXSIZEOF below.
|
||||
|
||||
@@ -32,6 +32,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_FNMATCH_H
|
||||
#define _@GUARD_PREFIX@_FNMATCH_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
||||
|
||||
/* The definition of _GL_ARG_NONNULL is copied here. */
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
|
||||
Written by Jim Meyering. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#if HAVE_STDIO_EXT_H
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Return true if the stream STREAM supports reading, false if it supports
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Return true if the stream STREAM is opened read-only, or if the
|
||||
|
||||
@@ -49,6 +49,11 @@
|
||||
#ifndef _FTS_H
|
||||
# define _FTS_H 1
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_NODISCARD. */
|
||||
# if !_LIBC && !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# ifdef _LIBC
|
||||
# include <features.h>
|
||||
# if __STDC_VERSION__ < 199901L
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Return true if the stream STREAM supports writing, false if it supports
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Return true if the stream STREAM is opened write-only or
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef _GL_GC_H
|
||||
# define _GL_GC_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
/* Get size_t. */
|
||||
# include <stddef.h>
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef _GET_PROGNAME_OF_H
|
||||
#define _GET_PROGNAME_OF_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
+5
-3
@@ -20,11 +20,13 @@
|
||||
#ifndef GETHRXTIME_H_
|
||||
#define GETHRXTIME_H_ 1
|
||||
|
||||
#include "xtime.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "xtime.h"
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GETHRXTIME_INLINE
|
||||
# define GETHRXTIME_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,11 +18,14 @@
|
||||
#ifndef _GL_LIST_H
|
||||
#define _GL_LIST_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_LIST_INLINE
|
||||
# define GL_LIST_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,11 +18,14 @@
|
||||
#ifndef _GL_MAP_H
|
||||
#define _GL_MAP_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_MAP_INLINE
|
||||
# define GL_MAP_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,11 +18,14 @@
|
||||
#ifndef _GL_OMAP_H
|
||||
#define _GL_OMAP_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_OMAP_INLINE
|
||||
# define GL_OMAP_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -17,13 +17,15 @@
|
||||
|
||||
/* Written by Pádraig Brady */
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#ifndef GL_OPENSSL_NAME
|
||||
# error "Please define GL_OPENSSL_NAME to 1,5,256 etc."
|
||||
#endif
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
# error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_OPENSSL_INLINE
|
||||
# define GL_OPENSSL_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,11 +18,14 @@
|
||||
#ifndef _GL_OSET_H
|
||||
#define _GL_OSET_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_OSET_INLINE
|
||||
# define GL_OSET_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,11 +18,14 @@
|
||||
#ifndef _GL_SET_H
|
||||
#define _GL_SET_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_SET_INLINE
|
||||
# define GL_SET_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,12 +18,15 @@
|
||||
#ifndef _GL_XLIST_H
|
||||
#define _GL_XLIST_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_list.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XLIST_INLINE
|
||||
# define GL_XLIST_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,12 +18,15 @@
|
||||
#ifndef _GL_XMAP_H
|
||||
#define _GL_XMAP_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_map.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XMAP_INLINE
|
||||
# define GL_XMAP_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,12 +18,15 @@
|
||||
#ifndef _GL_XOMAP_H
|
||||
#define _GL_XOMAP_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_omap.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XOMAP_INLINE
|
||||
# define GL_XOMAP_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,12 +18,15 @@
|
||||
#ifndef _GL_XOSET_H
|
||||
#define _GL_XOSET_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_oset.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XOSET_INLINE
|
||||
# define GL_XOSET_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -18,12 +18,15 @@
|
||||
#ifndef _GL_XSET_H
|
||||
#define _GL_XSET_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_set.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XSET_INLINE
|
||||
# define GL_XSET_INLINE _GL_INLINE
|
||||
|
||||
+6
-3
@@ -19,12 +19,15 @@
|
||||
#ifndef _GL_XSUBLIST_H
|
||||
#define _GL_XSUBLIST_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "gl_sublist.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef GL_XSUBLIST_INLINE
|
||||
# define GL_XSUBLIST_INLINE _GL_INLINE
|
||||
|
||||
@@ -32,6 +32,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_GLOB_H
|
||||
#define _@GUARD_PREFIX@_GLOB_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
||||
|
||||
/* The definition of _GL_ARG_NONNULL is copied here. */
|
||||
|
||||
+5
-4
@@ -48,6 +48,11 @@
|
||||
#ifndef _GLTHREAD_COND_H
|
||||
#define _GLTHREAD_COND_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
@@ -66,10 +71,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef _GLTHREAD_COND_INLINE
|
||||
# define _GLTHREAD_COND_INLINE _GL_INLINE
|
||||
|
||||
@@ -70,6 +70,11 @@
|
||||
#ifndef _GLTHREAD_THREAD_H
|
||||
#define _GLTHREAD_THREAD_H
|
||||
|
||||
/* This file uses _Noreturn. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
+5
-2
@@ -45,9 +45,12 @@
|
||||
#ifndef _GL_HAMT_H
|
||||
#define _GL_HAMT_H
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
# error "Please include config.h first."
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_DEALLOC,
|
||||
_GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef _GL_HAMT_INLINE
|
||||
# define _GL_HAMT_INLINE _GL_INLINE
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* Compute a hash code for a buffer starting at X and of size N,
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/* Compute a hash code for a NUL-terminated string starting at X,
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
#ifndef HASH_TRIPLE_H
|
||||
#define HASH_TRIPLE_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
||||
@@ -24,6 +24,13 @@
|
||||
#ifndef HASH_H_
|
||||
# define HASH_H_
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEPRECATED,
|
||||
_GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_NODISCARD, _GL_ATTRIBUTE_PURE,
|
||||
_GL_ATTRIBUTE_RETURNS_NONNULL. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
# include <stdio.h>
|
||||
|
||||
# ifdef __cplusplus
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_PURE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
enum { I_RING_SIZE = 4 };
|
||||
static_assert (1 <= I_RING_SIZE);
|
||||
|
||||
|
||||
+6
-3
@@ -18,15 +18,18 @@
|
||||
#ifndef IALLOC_H_
|
||||
#define IALLOC_H_
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_COLD,
|
||||
_GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include "idx.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef IALLOC_INLINE
|
||||
# define IALLOC_INLINE _GL_INLINE
|
||||
|
||||
@@ -28,6 +28,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_ICONV_H
|
||||
#define _@GUARD_PREFIX@_ICONV_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */
|
||||
|
||||
/* The definition of _GL_ARG_NONNULL is copied here. */
|
||||
|
||||
@@ -19,6 +19,12 @@
|
||||
#ifndef _GL_INO_MAP_H
|
||||
# define _GL_INO_MAP_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_MALLOC,
|
||||
_GL_ATTRIBUTE_NONNULL. */
|
||||
# if !_GL_CONFIG_H_INCLUDED
|
||||
# error "Please include config.h first."
|
||||
# endif
|
||||
|
||||
# include <sys/types.h>
|
||||
|
||||
# define INO_MAP_INSERT_FAILURE ((size_t) -1)
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
|
||||
/* Written by Paul Eggert */
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_NODISCARD. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
#if ! defined INTTYPES_H && ! defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
|
||||
#define INTTYPES_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Include <stdint.h> or the gnulib replacement.
|
||||
But avoid namespace pollution on glibc systems. */
|
||||
#ifndef __GLIBC__
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
#ifndef _JAVAVERSION_H
|
||||
#define _JAVAVERSION_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_LANGINFO_H
|
||||
#define _@GUARD_PREFIX@_LANGINFO_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
|
||||
#if !@HAVE_LANGINFO_H@
|
||||
|
||||
|
||||
@@ -44,6 +44,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_LOCALE_H
|
||||
#define _@GUARD_PREFIX@_LOCALE_H
|
||||
|
||||
/* This file uses GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* NetBSD 5.0 mis-defines NULL. */
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
#ifndef _GL_LOCALENAME_H
|
||||
#define _GL_LOCALENAME_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_CONST. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
#ifndef _@GUARD_PREFIX@_MALLOC_H
|
||||
#define _@GUARD_PREFIX@_MALLOC_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_DEALLOC, GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* Solaris declares memalign() in <stdlib.h>, not in <malloc.h>. */
|
||||
#if defined __sun || defined __hpux
|
||||
# include <stdlib.h>
|
||||
|
||||
@@ -18,6 +18,12 @@
|
||||
#ifndef _MALLOCA_H
|
||||
#define _MALLOCA_H
|
||||
|
||||
/* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_DEALLOC,
|
||||
_GL_ATTRIBUTE_MALLOC. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <alloca.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+6
-3
@@ -48,14 +48,17 @@
|
||||
#ifndef _@GUARD_PREFIX@_MATH_H
|
||||
#define _@GUARD_PREFIX@_MATH_H
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_CONST,
|
||||
GNULIB_POSIXCHECK. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
/* On OpenVMS, NAN, INFINITY, and HUGEVAL macros are defined in <fp.h>. */
|
||||
#if defined __VMS && ! defined NAN
|
||||
# include <fp.h>
|
||||
#endif
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef _GL_MATH_INLINE
|
||||
# define _GL_MATH_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -144,13 +144,15 @@
|
||||
#ifndef _MBCHAR_H
|
||||
#define _MBCHAR_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef MBCHAR_INLINE
|
||||
# define MBCHAR_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -47,6 +47,11 @@
|
||||
#ifndef _MBFILE_H
|
||||
#define _MBFILE_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -54,9 +59,6 @@
|
||||
|
||||
#include "mbchar.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef MBFILE_INLINE
|
||||
# define MBFILE_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -82,6 +82,11 @@
|
||||
#ifndef _MBITER_H
|
||||
#define _MBITER_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
@@ -89,9 +94,6 @@
|
||||
|
||||
#include "mbchar.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef MBITER_INLINE
|
||||
# define MBITER_INLINE _GL_INLINE
|
||||
|
||||
+5
-3
@@ -89,6 +89,11 @@
|
||||
#ifndef _MBUITER_H
|
||||
#define _MBUITER_H 1
|
||||
|
||||
/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE. */
|
||||
#if !_GL_CONFIG_H_INCLUDED
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
@@ -98,9 +103,6 @@
|
||||
#include "mbchar.h"
|
||||
#include "strnlen1.h"
|
||||
|
||||
#ifndef _GL_INLINE_HEADER_BEGIN
|
||||
#error "Please include config.h first."
|
||||
#endif
|
||||
_GL_INLINE_HEADER_BEGIN
|
||||
#ifndef MBUITER_INLINE
|
||||
# define MBUITER_INLINE _GL_INLINE
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user