gbranden pushed a commit to branch master
in repository groff.
commit 4d6ee52d1b7a56d660b2e84d487c542a4e84c1a0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Apr 17 13:05:21 2026 -0500
[troff]: Trivially refactor.
* src/roff/troff/env.h: Declare `init_size_list()` here, corresponding
to its definition in "env.cpp", and along with other
"size_list"-related stuff...
* src/roff/troff/node.h: ...instead of here.
---
ChangeLog | 9 +++++++++
src/roff/troff/env.h | 2 ++
src/roff/troff/node.h | 1 -
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index ef1d717b8..c34a276a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2026-04-17 G. Branden Robinson <[email protected]>
+
+ [troff]: Trivially refactor.
+
+ * src/roff/troff/env.h: Declare `init_size_list()` here,
+ corresponding to its definition in "env.cpp", and along with
+ other "size_list"-related stuff...
+ * src/roff/troff/node.h: ...instead of here.
+
2026-04-17 G. Branden Robinson <[email protected]>
* src/roff/troff/node.h: Drop declaration of unused symbol
diff --git a/src/roff/troff/env.h b/src/roff/troff/env.h
index a4cd518f4..03606f601 100644
--- a/src/roff/troff/env.h
+++ b/src/roff/troff/env.h
@@ -438,6 +438,8 @@ extern void push_env(int);
void select_font(symbol);
void init_environments();
+extern void init_size_list(int *);
+
extern double spread_limit;
extern symbol default_family;
diff --git a/src/roff/troff/node.h b/src/roff/troff/node.h
index 6fa66941e..6246042fb 100644
--- a/src/roff/troff/node.h
+++ b/src/roff/troff/node.h
@@ -710,7 +710,6 @@ extern bool is_valid_font_mounting_position(int);
extern bool is_valid_font(int);
extern int mounting_position_of_font(symbol);
extern int next_available_font_mounting_position();
-extern void init_size_list(int *);
extern int get_selected_underline_font_mounting_position();
class output_file {
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit