devtools: add script to find duplicated includes
authorThomas Monjalon <thomas@monjalon.net>
Sat, 15 Jul 2017 10:00:33 +0000 (12:00 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 3 Aug 2017 10:05:09 +0000 (12:05 +0200)
commitf3cb39e882deea117249f2f92eb1b0f22578f0af
tree53c383b5d7da8bf381e0a5b5ca1f12d458399c88
parent26857dabb3c91031beb2faab6237969951341a30
devtools: add script to find duplicated includes

Based on Stephen's idea (originally implemented in a Perl script),
this is a shell script to find duplicated includes in a file.
It looks for all the .c and .h files of the git repository.

It is fast enough because automatically well parallelized.

Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Keith Wiles <keith.wiles@intel.com>
MAINTAINERS
devtools/check-dup-includes.sh [new file with mode: 0755]