From: Pádraig Brady
Date: Sat, 23 Aug 2014 00:14:36 +0000 (+0100)
Subject: maint: include libstdbuf.c in extraneous headers check
X-Git-Tag: v8.24~228
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=113ca3e892e5a47fef8930633f2e1b0d9801dc5f;p=thirdparty%2Fcoreutils.git
maint: include libstdbuf.c in extraneous headers check
* cfg.mk (sc_system_h_headers): Don't exclude libstdbuf.c.
* src/libstdbuf.c: Remove headers already included in system.h.
---
diff --git a/cfg.mk b/cfg.mk
index 178ff7625f..d95bfacb41 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -603,7 +603,7 @@ exclude_file_name_regexp--sc_bindtextdomain = \
^(gl/.*|lib/euidaccess-stat|src/make-prime-list)\.c$$
exclude_file_name_regexp--sc_trailing_blank = ^(tests/pr/|man/help2man)
exclude_file_name_regexp--sc_system_h_headers = \
- ^src/((system|copy)\.h|libstdbuf\.c|make-prime-list\.c)$$
+ ^src/((system|copy)\.h|make-prime-list\.c)$$
_src = (false|lbracket|ls-(dir|ls|vdir)|tac-pipe|uname-(arch|uname))
exclude_file_name_regexp--sc_require_config_h_first = \
diff --git a/src/libstdbuf.c b/src/libstdbuf.c
index 1281b9de7c..675548cff4 100644
--- a/src/libstdbuf.c
+++ b/src/libstdbuf.c
@@ -18,9 +18,7 @@
#include