]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: include libstdbuf.c in extraneous headers check
authorPádraig Brady <P@draigBrady.com>
Sat, 23 Aug 2014 00:14:36 +0000 (01:14 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 10 Sep 2014 22:53:36 +0000 (23:53 +0100)
* cfg.mk (sc_system_h_headers): Don't exclude libstdbuf.c.
* src/libstdbuf.c: Remove headers already included in system.h.

cfg.mk
src/libstdbuf.c

diff --git a/cfg.mk b/cfg.mk
index 178ff7625f61dcdbd92f2ffebc6e8c75bc5eef49..d95bfacb41c21fb467c142cb39c8994ece285f3e 100644 (file)
--- 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 = \
index 1281b9de7ca5457cd969b96262b3e5d7c2f3e03e..675548cff4c228c80841e00e04e770bd4a314ace 100644 (file)
@@ -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