diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-08-23 01:14:36 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-09-10 23:53:36 +0100 |
commit | 113ca3e892e5a47fef8930633f2e1b0d9801dc5f (patch) | |
tree | 459721a8c6fe23ed2e3fd88c76e4ba1724ac450a | |
parent | 3cf19b5e5e5d166a478f84dbb28cfa7cd8e89229 (diff) | |
download | coreutils-113ca3e892e5a47fef8930633f2e1b0d9801dc5f.tar.xz |
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.
-rw-r--r-- | cfg.mk | 2 | ||||
-rw-r--r-- | src/libstdbuf.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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 1281b9de7..675548cff 100644 --- a/src/libstdbuf.c +++ b/src/libstdbuf.c @@ -18,9 +18,7 @@ #include <config.h> #include <stdio.h> -#include <stdlib.h> #include "system.h" -#include "verify.h" /* Note currently for glibc (2.3.5) the following call does not change the buffer size, and more problematically does not give any indication |