From: Sami Kerola Date: Tue, 28 Jun 2011 10:43:25 +0000 (+0200) Subject: script: include-what-you-use header check X-Git-Tag: v2.20-rc1~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb810ff26429ad6cfd3348d63d055a40a157063;p=thirdparty%2Futil-linux.git script: include-what-you-use header check The tool proposed; script.c should add these lines: script.c should remove these lines: - #include // lines 53-53 - #include // lines 48-48 - #include "c.h" // lines 61-61 and the change nearly did what the tool told. We should keep on using c.h, not err.h. The config.h is not needed, it's added automaticly. Signed-off-by: Sami Kerola --- diff --git a/term-utils/script.c b/term-utils/script.c index 12783d153b..7e966ec70c 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -45,17 +45,20 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include #include #include +#include +#include +#include +#include +#include #include "nls.h" #include "c.h"