]> git.ipfire.org Git - thirdparty/util-linux.git/commit
script: include-what-you-use header check
authorSami Kerola <kerolasa@iki.fi>
Tue, 28 Jun 2011 10:43:25 +0000 (12:43 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Jun 2011 09:24:30 +0000 (11:24 +0200)
commit8fb810ff26429ad6cfd3348d63d055a40a157063
treeb6a7abe174e45bfec2d2f19ad6a6e91bce1cc6a5
parent0f81d3289fb1e84ce217659bb4f6fe1b61788d5b
script: include-what-you-use header check

The tool proposed;

script.c should add these lines:

script.c should remove these lines:
- #include <sys/file.h>  // lines 53-53
- #include <sys/types.h>  // 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 <kerolasa@iki.fi>
term-utils/script.c