texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Mon, 23 Dec 2024 12:17:00 -0500 (EST)

branch: master
commit 59f818ee45c89d4c39946346aa1a5a0ce0bacb0a
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Dec 23 15:14:21 2024 +0000

    Remove system.h defines
    
    * system.h,
    * info/info.h: Remove or move more includes out of system.h.
---
 ChangeLog   | 7 +++++++
 info/info.h | 1 +
 system.h    | 6 ------
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9121a83f66..3de9b330e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-12-23  Gavin Smith <gavinsmith0123@gmail.com>
+
+       Remove system.h defines
+
+       * system.h,
+       * info/info.h: Remove or move more includes out of system.h.
+
 2024-12-23  Gavin Smith <gavinsmith0123@gmail.com>
 
        Remove system.h defines
diff --git a/info/info.h b/info/info.h
index 1f07b9fbc6..fc942a4118 100644
--- a/info/info.h
+++ b/info/info.h
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <limits.h>
 #include <ctype.h>
+#include <errno.h>
 
 #define STREQ(s1,s2) (strcmp (s1, s2) == 0)
 
diff --git a/system.h b/system.h
index 8ad20f066d..450a4fc3c2 100644
--- a/system.h
+++ b/system.h
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <locale.h>
 #include <stdlib.h>
 
 /* Use POSIX headers.  If they are not available, we use the substitute
@@ -45,11 +44,6 @@
 #include "mbswidth.h"
 #include "xalloc.h"
 
-#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
 #include <sys/stat.h>
 #if !defined(S_ISDIR) && defined(S_IFDIR)
 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]