gbranden pushed a commit to branch master
in repository groff.
commit 7a21b5f86aed91fec54bf42fada8d9c704c9a2c3
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri May 16 04:09:39 2025 -0500
[troff]: Mark `print_streams` function as static.
* src/roff/troff/input.cpp (print_streams): Mark as `static` since this
function requires no external linkage.
---
ChangeLog | 5 +++++
src/roff/troff/input.cpp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 703abc402..22cf81949 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-05-16 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/input.cpp (print_streams): Mark as `static`
+ since this function requires no external linkage.
+
2025-05-15 G. Branden Robinson <[email protected]>
[troff]: Continue fixing Savanah #64104 after two years.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index e32d26552..4a1866ed6 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -7640,7 +7640,7 @@ grostream::~grostream()
object_dictionary stream_dictionary(20);
-void print_streams()
+static void print_streams()
{
object_dictionary_iterator iter(stream_dictionary);
symbol stream_name;
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit