]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Fix yesterdays #include <...> change.
authorCollin Funk <collin.funk1@gmail.com>
Sat, 27 Jul 2024 19:10:32 +0000 (12:10 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sat, 27 Jul 2024 20:30:22 +0000 (13:30 -0700)
* doc/gnulib-tool.texi (Style of #include statements): Remove files that
don't include #include_next. Sort using the C locale.

ChangeLog
doc/gnulib-tool.texi

index d256d51400e7a679eb5704638e76ad0aae978312..5239d9aa3cf150f9f78149ce958b4eb4f944fc4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-27  Collin Funk  <collin.funk1@gmail.com>
+
+       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  <collin.funk1@gmail.com>
 
        maintainer-makefile: Update list of headers to use #include <...>.
index 10e0bfa1d99a50b3b084c0808c94bcac46630051..e26380cd24abee51d5dc58f8024ff267b0f62437 100644 (file)
@@ -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