gbranden pushed a commit to branch master
in repository groff.
commit 8c025ca3637b1156bf34b0eab2f10420e6d84c15
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jul 10 21:56:44 2025 -0500
[gxditview]: Fix code style nit.
* src/devices/xditview/DviP.h: Give the anonymous `struct` type used for
`DviPart` a name, so that it can be passed to a template function
C++98-conformantly.
---
ChangeLog | 6 ++++++
src/devices/xditview/DviP.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 4769a5891..5df97d06d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,12 @@
* src/devices/grolj4/lj4.cpp: Relocate definition of
`lookup_paper_size()`, eliminating need for forward declaration.
+2025-07-10 G. Branden Robinson <[email protected]>
+
+ * src/devices/xditview/DviP.h: Fix code style nit. Give the
+ anonymous `struct` type used for `DviPart` a name, so that it
+ can be passed to a template function C++98-conformantly.
+
2025-07-10 G. Branden Robinson <[email protected]>
* src/devices/grolj4/lj4.cpp: Fix code style nits. Give the
diff --git a/src/devices/xditview/DviP.h b/src/devices/xditview/DviP.h
index 8b71c698e..5ad2e3c04 100644
--- a/src/devices/xditview/DviP.h
+++ b/src/devices/xditview/DviP.h
@@ -120,7 +120,7 @@ typedef struct _dviFileMap {
* New fields for the Dvi widget record
*/
-typedef struct {
+typedef struct _dviPart {
/*
* resource specifiable items
*/
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit