gbranden pushed a commit to branch master
in repository groff.

commit d53442c3aa31b003ade6011b5c26a7d28bc3d211
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jun 6 09:41:21 2026 -0500

    src/libs/libgroff/string.cpp: Fix code style nit.
    
    * src/libs/libgroff/string.cpp: Drop unnecessary prototypes of functions
      that lack external linkage (they're `static`) and do not require
      forward declarations.
---
 ChangeLog                    | 6 ++++++
 src/libs/libgroff/string.cpp | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d683dfdfb..c1494ed7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-06-06  G. Branden Robinson <[email protected]>
+
+       * src/libs/libgroff/string.cpp: Drop unnecessary prototypes of
+       functions that lack external linkage (they're `static`) and do
+       not require forward declarations.
+
 2026-06-06  G. Branden Robinson <[email protected]>
 
        [libgroff]: Boolify groff's `string` class.
diff --git a/src/libs/libgroff/string.cpp b/src/libs/libgroff/string.cpp
index f5ea0464a..06e2586c5 100644
--- a/src/libs/libgroff/string.cpp
+++ b/src/libs/libgroff/string.cpp
@@ -36,12 +36,6 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>. */
 
 #include "stringclass.h"
 
-static char *salloc(int len, int *sizep);
-static void sfree(char *ptr, int size);
-static char *sfree_alloc(char *ptr, int size, int len, int *sizep);
-static char *srealloc(char *ptr, int size, int oldlen, int newlen,
-                     int *sizep);
-
 // TODO 1: Replace all this memory management stuff with vector<char>.
 // TODO 2: Replace this entire class.  See Savannah #67735.
 

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to