diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 19:57:47 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 12:43:33 -0400 |
commit | 7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (patch) | |
tree | 84e400a1a819a9ff044fe4ca8eb196ab35cb490b /tools/lib/subcmd/help.h | |
parent | a3b70b3bb34296a63b43614f13991111eccbb44a (diff) |
perf tools: Remove string.h, unistd.h and sys/stat.h from util.h
Not needed in this header, added to the places that need FILE,
putchar(), access() and a few other prototypes.
Link: http://lkml.kernel.org/n/tip-xxtdsl6nsna82j7puwbdjqhs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/subcmd/help.h')
-rw-r--r-- | tools/lib/subcmd/help.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/subcmd/help.h b/tools/lib/subcmd/help.h index e145a020780c..9bd4223dc722 100644 --- a/tools/lib/subcmd/help.h +++ b/tools/lib/subcmd/help.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __SUBCMD_HELP_H | 2 | #define __SUBCMD_HELP_H |
3 | 3 | ||
4 | #include <sys/types.h> | 4 | #include <sys/types.h> |
5 | #include <stdio.h> | ||
5 | 6 | ||
6 | struct cmdnames { | 7 | struct cmdnames { |
7 | size_t alloc; | 8 | size_t alloc; |