[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 a48ba9fd750c2aa5e664d0ab5a1c54ad97e6bd7e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Dec 23 15:18:20 2024 +0000
Remove system.h include
* system.h, info/info.h, install-info/install-info.c:
Move include of "xalloc.h" out of system.h.
---
ChangeLog | 7 +++++++
info/info.h | 3 +++
install-info/install-info.c | 3 +++
system.h | 1 -
4 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3de9b330e2..4221b57a47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-12-23 Gavin Smith <gavinsmith0123@gmail.com>
+
+ Remove system.h include
+
+ * system.h, info/info.h, install-info/install-info.c:
+ Move include of "xalloc.h" 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 fc942a4118..29c28f79fc 100644
--- a/info/info.h
+++ b/info/info.h
@@ -28,6 +28,9 @@
#include <ctype.h>
#include <errno.h>
+/* From gnulib */
+#include "xalloc.h"
+
#define STREQ(s1,s2) (strcmp (s1, s2) == 0)
#ifndef TEXINFO_PRINTFLIKE
diff --git a/install-info/install-info.c b/install-info/install-info.c
index 5830584d44..05a63a34ee 100644
--- a/install-info/install-info.c
+++ b/install-info/install-info.c
@@ -23,6 +23,9 @@
#include <regex.h>
#include <argz.h>
+/* From gnulib */
+#include "xalloc.h"
+
#define TAB_WIDTH 8
static char *progname = "install-info";
diff --git a/system.h b/system.h
index 450a4fc3c2..e2d414311a 100644
--- a/system.h
+++ b/system.h
@@ -42,7 +42,6 @@
#include "mbiter.h"
#endif
#include "mbswidth.h"
-#include "xalloc.h"
#include <sys/stat.h>
#if !defined(S_ISDIR) && defined(S_IFDIR)
- master updated (e3ddefe01b -> 309c8e11bb), Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23
- [no subject], Gavin D. Smith, 2024/12/23