gbranden pushed a commit to branch master
in repository groff.
commit 7ab0797c9d374f7e49f0a620b492ba8e994844b5
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Jan 15 21:13:18 2025 -0600
src/include/driver.h: Reduce #include spam.
* src/include/driver.h: Drop inclusion of standard libc header files.
This header file itself uses none of its facilities.
---
ChangeLog | 7 +++++++
src/include/driver.h | 7 +------
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7fca2cfbd..d01c61414 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-01-15 G. Branden Robinson <[email protected]>
+
+ Reduce header file inclusion spam.
+
+ * src/include/driver.h: Drop inclusion of standard libc header
+ files. This header file itself uses none of its facilities.
+
2025-01-15 G. Branden Robinson <[email protected]>
[grohtml,grolbp]: Rationalize header file inclusions.
diff --git a/src/include/driver.h b/src/include/driver.h
index 965ac1abe..5bdaec3bb 100644
--- a/src/include/driver.h
+++ b/src/include/driver.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989-2020 Free Software Foundation, Inc.
+/* Copyright (C) 1989-2025 Free Software Foundation, Inc.
Written by James Clark ([email protected])
This file is part of groff.
@@ -18,11 +18,6 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
#include "lib.h"
-#include <ctype.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <errno.h>
-#include <math.h>
#include "errarg.h"
#include "error.h"
#include "font.h"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit