gbranden pushed a commit to branch master
in repository groff.
commit 931f743e30beb7db27c694c4693d3fc332f9516e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Dec 19 12:19:05 2025 -0600
[troff]: Drop unnecessary header file inclusion.
* src/roff/troff/number.cpp: Do it.
Also annotate reasons for included local header files.
---
ChangeLog | 5 +++++
src/roff/troff/number.cpp | 13 ++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1173ff2b2..7b0fb386a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-12-19 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/number.cpp: Drop unnecessary header file
+ inclusion.
+
2025-12-19 G. Branden Robinson <[email protected]>
[troff]: Further conceal broken nested class feature.
diff --git a/src/roff/troff/number.cpp b/src/roff/troff/number.cpp
index 67c2d20c0..948a8fe80 100644
--- a/src/roff/troff/number.cpp
+++ b/src/roff/troff/number.cpp
@@ -24,13 +24,12 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include <stdckdint.h>
-#include "troff.h"
-#include "hvunits.h"
-#include "stringclass.h"
-#include "mtsm.h"
-#include "env.h"
-#include "token.h"
-#include "div.h"
+#include "troff.h" // units
+#include "hvunits.h" // hunits, vunits
+#include "mtsm.h" // state_set
+#include "env.h" // curenv
+#include "token.h" // tok
+#include "div.h" // curdiv
const vunits V0; // zero in vertical units
const hunits H0; // zero in horizontal units
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit