From: Bruno Haible Date: Sun, 10 May 2026 22:39:51 +0000 (+0200) Subject: string-buffer-reversed: Fix comments. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c573b254004cf4f7dd0dc7239ae40c7e2bbffbba;p=thirdparty%2Fgnulib.git string-buffer-reversed: Fix comments. * lib/string-buffer-reversed.h: Fix comments and indentation. --- diff --git a/ChangeLog b/ChangeLog index 34b78ecc4e..eb79c1b80a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2026-05-10 Bruno Haible + + string-buffer-reversed: Fix comments. + * lib/string-buffer-reversed.h: Fix comments and indentation. + 2026-05-10 Bruno Haible Revisit some -Wuseless-cast changes. diff --git a/lib/string-buffer-reversed.h b/lib/string-buffer-reversed.h index 25c1a83823..611d07d38c 100644 --- a/lib/string-buffer-reversed.h +++ b/lib/string-buffer-reversed.h @@ -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