gbranden pushed a commit to branch master
in repository groff.

commit 50ce3f6528ae689845e5c95b4c331c3fbf88322e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Apr 1 18:20:04 2026 -0500

    src/roff/troff/env.cpp: Fix code style nit.
    
    * src/roff/troff/env.cpp (print_environment_request): Declare as
      `static` since it does not require external linkage.
---
 ChangeLog              | 5 +++++
 src/roff/troff/env.cpp | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 30cda908b..b63a4c4f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@
        disclose the specific format demanded.  Also tighten message
        wording.
 
+2026-04-01  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/env.cpp (print_environment_request): Declare as
+       `static` since it does not require external linkage.
+
 2026-04-01  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/env.cpp: Trivially refactor.
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 71249d03e..5eea0eaec 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -3728,7 +3728,10 @@ void environment::dump()
   fflush(stderr);
 }
 
-void print_environment_request()
+// TODO: Revise to report, without arguments, only the environment stack
+// contents from top to bottom; report details of only environments
+// named in arguments.
+static void print_environment_request()
 {
   errprint("Current Environment:\n");
   curenv->dump();

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

Reply via email to