From: Collin Funk Date: Sat, 27 Jul 2024 19:10:32 +0000 (-0700) Subject: doc: Fix yesterdays #include <...> change. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e385b167e2f4caa1d069a647b2f4d72ccc38ac96;p=gnulib.git doc: Fix yesterdays #include <...> change. * doc/gnulib-tool.texi (Style of #include statements): Remove files that don't include #include_next. Sort using the C locale. --- diff --git a/ChangeLog b/ChangeLog index d256d51400..5239d9aa3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-07-27 Collin Funk + + doc: Fix yesterdays #include <...> change. + * doc/gnulib-tool.texi (Style of #include statements): Remove files that + don't include #include_next. Sort using the C locale. + 2024-07-26 Collin Funk maintainer-makefile: Update list of headers to use #include <...>. diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi index 10e0bfa1d9..e26380cd24 100644 --- a/doc/gnulib-tool.texi +++ b/doc/gnulib-tool.texi @@ -556,6 +556,7 @@ and these flags have no effect after any system header file has been included. When including including specific header files, you need to use the @samp{#include <...>} syntax, not the @samp{#include "..."} syntax. This is true for the following POSIX or ISO C standardized header files: +@c To find the list of files, use 'grep -l @INCLUDE_NEXT lib/*.in.h'. @itemize @asis{} @item @code{arpa/inet.h} @item @code{assert.h} @@ -575,8 +576,8 @@ This is true for the following POSIX or ISO C standardized header files: @item @code{locale.h} @item @code{math.h} @item @code{monetary.h} -@item @code{netdb.h} @item @code{net/if.h} +@item @code{netdb.h} @item @code{netinet/in.h} @item @code{poll.h} @item @code{pthread.h} @@ -586,14 +587,10 @@ This is true for the following POSIX or ISO C standardized header files: @item @code{spawn.h} @item @code{stdalign.h} @item @code{stdarg.h} -@item @code{stdbit.h} -@item @code{stdbool.h} -@item @code{stdckdint.h} @item @code{stddef.h} @item @code{stdint.h} @item @code{stdio.h} @item @code{stdlib.h} -@item @code{stdnoreturn.h} @item @code{string.h} @item @code{strings.h} @item @code{sys/msg.h} @@ -624,23 +621,17 @@ as well as for the following header files that exist in the GNU C library but are not standardized: @itemize @asis{} @item @code{alloca.h} -@item @code{argz.h} @item @code{byteswap.h} @item @code{error.h} -@item @code{execinfo.h} @item @code{getopt.h} -@item @code{ieee754.h} @item @code{malloc.h} -@item @code{obstack.h} @item @code{omp.h} @item @code{pty.h} -@item @code{selinux/context.h} -@item @code{selinux/label.h} @item @code{selinux/selinux.h} -@item @code{sysexits.h} @item @code{sys/file.h} @item @code{sys/ioctl.h} @item @code{sys/random.h} +@item @code{sysexits.h} @item @code{utmp.h} @end itemize @noindent