]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
string-buffer-reversed: Fix comments.
authorBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 22:39:51 +0000 (00:39 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 22:39:51 +0000 (00:39 +0200)
* lib/string-buffer-reversed.h: Fix comments and indentation.

ChangeLog
lib/string-buffer-reversed.h

index 34b78ecc4e2000a208dd0299f0136793a15d344f..eb79c1b80a934ea3e012d5019c6e5ac6934d5d01 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-10  Bruno Haible  <bruno@clisp.org>
+
+       string-buffer-reversed: Fix comments.
+       * lib/string-buffer-reversed.h: Fix comments and indentation.
+
 2026-05-10  Bruno Haible  <bruno@clisp.org>
 
        Revisit some -Wuseless-cast changes.
index 25c1a83823e5bc742ce5638631cf1e7d97724bb9..611d07d38c5fac7d27a926097cc1e12eb82b5eec 100644 (file)
@@ -59,7 +59,7 @@ struct string_buffer_reversed
 extern "C" {
 #endif
 
-/* ================== Functions in module 'string-buffer' ================== */
+/* ============== Functions in module 'string-buffer-reversed' ============== */
 
 /* Initializes BUFFER to the empty string.  */
 extern void sbr_init (struct string_buffer_reversed *buffer)
@@ -72,12 +72,12 @@ extern int sbr_prepend1 (struct string_buffer_reversed *buffer, char c);
 /* Prepends the contents of the memory area S to BUFFER.
    Returns 0, or -1 in case of out-of-memory error.  */
 extern int sbr_prepend_desc (struct string_buffer_reversed *buffer,
-                            string_desc_t s);
+                             string_desc_t s);
 
 /* Prepends the contents of the C string STR to BUFFER.
    Returns 0, or -1 in case of out-of-memory error.  */
 extern int sbr_prepend_c (struct string_buffer_reversed *buffer,
-                         const char *str);
+                          const char *str);
 
 #ifndef SBR_NO_PREPENDF
 
@@ -141,7 +141,7 @@ extern rw_string_desc_t sbr_dupfree (struct string_buffer_reversed *buffer)
 extern char * sbr_dupfree_c (struct string_buffer_reversed *buffer)
   _GL_ATTRIBUTE_RELEASE_CAPABILITY (buffer->data);
 
-/* ================== Functions in module 'xstring-buffer' ================== */
+/* ============= Functions in module 'xstring-buffer-reversed' ============= */
 
 #if GNULIB_XSTRING_BUFFER_REVERSED