]> Savannah Git Hosting - gnulib.git/commitdiff
Adjust comments in <config.h> reminders.
authorBruno Haible <bruno@clisp.org>
Thu, 13 Apr 2023 21:18:19 +0000 (23:18 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Apr 2023 21:18:19 +0000 (23:18 +0200)
* lib/*.h: In the comments, mention also HAVE_*.

26 files changed:
ChangeLog
lib/alignalloc.h
lib/fpending.h
lib/freadable.h
lib/freadahead.h
lib/freading.h
lib/fwritable.h
lib/fwriting.h
lib/gethrxtime.h
lib/glthread/cond.h
lib/glthread/thread.h
lib/localename.h
lib/malloca.h
lib/openat.h
lib/priv-set.h
lib/readline.h
lib/readutmp.h
lib/relocatable.h
lib/stat-time.h
lib/striconv.h
lib/striconveh.h
lib/term-style-control.h
lib/xmalloca.h
lib/xsize.h
lib/xstriconv.h
lib/xstriconveh.h

index a00ff5540422372147287d9b48d9ef52aa683a76..c15d67bb262d7c31b6e49051d82d80329e0a2316 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-13  Bruno Haible  <bruno@clisp.org>
+
+       Adjust comments in <config.h> reminders.
+       * lib/*.h: In the comments, mention also HAVE_*.
+
 2023-04-13  Bruno Haible  <bruno@clisp.org>
 
        Adjust comments in <config.h> reminders.
index 1574e26c92521fdaddc2e244b120ebb442a81ee5..a3813db6f87b5b13c673500a9bedc847b05ebe23 100644 (file)
@@ -21,7 +21,7 @@
 #define ALIGNALLOC_H_
 
 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_ATTRIBUTE_ALLOC_SIZE,
-   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL.  */
+   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL, HAVE_POSIX_MEMALIGN.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 0585dcb32964554ddd209c1f31c50408b6fbd0e4..1604ca0b7af6c1c59f9072c0eb447fab969b236c 100644 (file)
@@ -18,7 +18,8 @@
 
    Written by Jim Meyering.  */
 
-/* This file uses _GL_ATTRIBUTE_PURE.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE_STDIO_EXT_H,
+   HAVE_DECL___FPENDING.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index c5d5d5cfb95b534ab757553b55a13df0a993aa96..9a2cb3fecd5635d7f306d685e8c1561a4825b41c 100644 (file)
@@ -14,7 +14,7 @@
    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.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE___FREADABLE, HAVE_STDIO_EXT_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index d47026a05ab68236822a651e68952ba26bfbe3ec..4a3275e90cd4afee9c81f9be89b82f555d99f711 100644 (file)
@@ -14,7 +14,7 @@
    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.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE___FREADAHEAD.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index c18ea4a29239a26420caf407c15ea45da794472e..0fe4810c3d71f448743645eebbb55fa7cadb61f1 100644 (file)
@@ -14,7 +14,7 @@
    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.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE___FREADING, HAVE_STDIO_EXT_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index d3c0b4661568debc3a2fd119b1121e2889a4bb3f..84559a96a33e7c3225dea80e7cf77cc602d99208 100644 (file)
@@ -14,7 +14,7 @@
    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.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE___FWRITABLE, HAVE_STDIO_EXT_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 28cb2c878a5e48c636f2155062a0bcdaa542ef8d..c907695d199720b5901f78e15c3cd8ec95cc9b43 100644 (file)
@@ -14,7 +14,7 @@
    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.  */
+/* This file uses _GL_ATTRIBUTE_PURE, HAVE___FWRITING, HAVE_STDIO_EXT_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 3a1340b69d1a3248f4cf40d22c5134708a5e22c9..573e600b14fe387dd07b89f0937fb2bf22785030 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef GETHRXTIME_H_
 #define GETHRXTIME_H_ 1
 
-/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE.  */
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, HAVE_ARITHMETIC_HRTIME_T,
+   HAVE_DECL_GETHRTIME.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 4c780d2defd492b7f331a4ad732f23fb49bb2026..b0d23888e2a1f830ed7e47aa829785ac35cd7b4d 100644 (file)
@@ -48,7 +48,7 @@
 #ifndef _GLTHREAD_COND_H
 #define _GLTHREAD_COND_H
 
-/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE.  */
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, HAVE_THREADS_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 091b601e996aeb74068f830b64a8f55b05baf7a4..88bc53ee7f2618ef224d14a28951137350bdd135 100644 (file)
@@ -70,7 +70,7 @@
 #ifndef _GLTHREAD_THREAD_H
 #define _GLTHREAD_THREAD_H
 
-/* This file uses _Noreturn.  */
+/* This file uses _Noreturn, HAVE_THREADS_H, HAVE_PTHREAD_ATFORK.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index f5663a6b37646174a51de1c7add15336ada3a8db..c804e2d8230b12a1b0913fc7db088d3e847b286a 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef _GL_LOCALENAME_H
 #define _GL_LOCALENAME_H
 
-/* This file uses _GL_ATTRIBUTE_CONST.  */
+/* This file uses _GL_ATTRIBUTE_CONST, HAVE_CFPREFERENCESCOPYAPPVALUE.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 576a56de403e8fd6b3362214258adcf95899e7b9..f68ddfe0105a7e1a935b487f7c82323f5d479896 100644 (file)
@@ -19,7 +19,7 @@
 #define _MALLOCA_H
 
 /* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_DEALLOC,
-   _GL_ATTRIBUTE_MALLOC.  */
+   _GL_ATTRIBUTE_MALLOC, HAVE_ALLOCA.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index ba4a780dc0f560e33a55780123abce6bb2c08263..97f066d10f837213a619e45b3d8800eaa2a927cb 100644 (file)
@@ -20,7 +20,7 @@
 #define _GL_HEADER_OPENAT
 
 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _Noreturn,
-   _GL_ATTRIBUTE_DEPRECATED.  */
+   _GL_ATTRIBUTE_DEPRECATED, HAVE_OPENAT.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index e9ffc0c9aa884c54c4a92b52a0e9ab9daca60bb1..c9d42b4e070313e4b422cb033f2d5a7a0ad4d08d 100644 (file)
@@ -17,7 +17,8 @@
 
    Written by David Bartley.  */
 
-/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE.  */
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, HAVE_PRIV_H,
+   HAVE_GETPPRIV.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 9048b727d77d066edfd222a5ba2d3f89791c77e5..416121c5c2dcf51d3ee520a339dbca49f2bd2dbc 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef GL_READLINE_H
 #define GL_READLINE_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_READLINE_READLINE_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index eda80a44fa689e634cac6b9241e4f5427e45590f..097dca6024eb121cc5e92a10db9c0fc0c6dd2fb9 100644 (file)
@@ -20,7 +20,9 @@
 #ifndef __READUTMP_H__
 # define __READUTMP_H__
 
-/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL,
+   HAVE_UTMP_H, HAVE_UTMPX_H, HAVE_STRUCT_UTMP_*, HAVE_STRUCT_UTMPX_*,
+   HAVE_UTMPNAME, HAVE_UTMPXNAME, HAVE_DECL_GETUTENT.  */
 # if !_GL_CONFIG_H_INCLUDED
 #  error "Please include config.h first."
 # endif
index b29c29ed1be855e98a93aa5ac7ebff7775198553..f4634b12389461abfe712dde6afaf80c36b10649 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _RELOCATABLE_H
 #define _RELOCATABLE_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_VISIBILITY.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 487e8b09713019bc5c9998acec31f19d24627868..5b2702356ee4748992fbf2f3d5427aab9137b3d8 100644 (file)
@@ -21,7 +21,7 @@
 #define STAT_TIME_H 1
 
 /* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, _GL_UNUSED,
-   _GL_ATTRIBUTE_PURE.  */
+   _GL_ATTRIBUTE_PURE, HAVE_STRUCT_STAT_*.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 6cd7dc31cfe3ae04beaa0f6edae0b0fca13cfce4..a4164da6368c0b0d7eeddaafa31659fcc464151b 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _STRICONV_H
 #define _STRICONV_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 6bced43e9c1c7d3757b6a987b97b291635bc681e..b109af4ea974bbd331f94fd643e2c994db51490b 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _STRICONVEH_H
 #define _STRICONVEH_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 6b77277cf38692eaa34f828dcc90a78715e15711..e144db944d8b52403048701bcac88cc51af1af51 100644 (file)
@@ -21,7 +21,7 @@
 /* The user of this file will define a macro 'term_style_user_data', such that
    'struct term_style_user_data' is a user-defined struct.  */
 
-/* This file uses _GL_ASYNC_SAFE.  */
+/* This file uses _GL_ASYNC_SAFE, HAVE_TCGETATTR.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 3f03eba5aac6fd62727fd86b295723cc25f92247..9ef41c6052093069fc9cd1179db9a7078464af35 100644 (file)
@@ -19,7 +19,7 @@
 #define _XMALLOCA_H
 
 /* This file uses _GL_ATTRIBUTE_ALLOC_SIZE, _GL_ATTRIBUTE_DEALLOC,
-   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL.  */
+   _GL_ATTRIBUTE_MALLOC, _GL_ATTRIBUTE_RETURNS_NONNULL, HAVE_ALLOCA.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index 746d6569bf62bfbddf2d1eba74332da71a6010d0..5b08d61f2f777c6417889bc205056dcefc09da6e 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _XSIZE_H
 #define _XSIZE_H
 
-/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE.  */
+/* This file uses _GL_INLINE_HEADER_BEGIN, _GL_INLINE, HAVE_STDINT_H.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index ee17e490c5942eefd708148ff8a2e319608870e6..5a3a6636d32c7b0e066c8669d5f7221c4443dcae 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _XSTRICONV_H
 #define _XSTRICONV_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif
index fe15eed9122f6989f08dae35fe1264870b8c2b47..35ef5620f50f083615b08f3ec5801c57e93b0721 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _XSTRICONVEH_H
 #define _XSTRICONVEH_H
 
-/* This file uses _GL_ATTRIBUTE_MALLOC.  */
+/* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_ICONV.  */
 #if !_GL_CONFIG_H_INCLUDED
  #error "Please include config.h first."
 #endif