gbranden pushed a commit to branch master
in repository groff.

commit a14600bdc94bba64f0ddae114b70721913f2b89f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Apr 10 02:37:32 2026 -0500

    [libgroff]: Fix code style nit.
    
    * src/include/symbol.h (class symbol): Comment formal argument names in
      function declarations as a compromise with the Stroustrup-style C++
      used in most of groff.
---
 ChangeLog            | 6 ++++++
 src/include/symbol.h | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index b425fa840..921e2abfd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-04-10  G. Branden Robinson <[email protected]>
+
+       * src/include/symbol.h (class symbol): Comment formal argument
+       names in function declarations as a compromise with the
+       Stroustrup-style C++ used in most of groff.
+
 2026-04-10  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/env.cpp
diff --git a/src/include/symbol.h b/src/include/symbol.h
index bc1f611d9..d526731ed 100644
--- a/src/include/symbol.h
+++ b/src/include/symbol.h
@@ -31,7 +31,7 @@ class symbol {
   static size_t block_size;
   const char *s;
 public:
-  symbol(const char *p, int /* how */ = 0);
+  symbol(const char * /* p */, int /* how */ = 0);
   symbol();
   uintptr_t hash() const;
   int operator ==(symbol) const;

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

Reply via email to