diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 18:06:30 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 12:43:32 -0400 |
commit | 72f7c4d22ccf7c7e78aa80ea3285e77404b31913 (patch) | |
tree | 6f323df961024dcf0757465ab1ccb5cae2d50792 /tools/perf/util/namespaces.c | |
parent | 86a5e0c2028899465a129d87f60fe4018c5ae839 (diff) |
perf tools: Remove string.h from util.h
Not needed in this header, added to the places that need strdup,
strcmp and a few other prototypes.
Link: http://lkml.kernel.org/n/tip-t24yy85xnlv55kyosrum2ubs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/namespaces.c')
-rw-r--r-- | tools/perf/util/namespaces.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c index 2de8da64d90c..67dcbcc73c7d 100644 --- a/tools/perf/util/namespaces.c +++ b/tools/perf/util/namespaces.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "event.h" | 11 | #include "event.h" |
12 | #include <stdlib.h> | 12 | #include <stdlib.h> |
13 | #include <stdio.h> | 13 | #include <stdio.h> |
14 | #include <string.h> | ||
14 | 15 | ||
15 | struct namespaces *namespaces__new(struct namespaces_event *event) | 16 | struct namespaces *namespaces__new(struct namespaces_event *event) |
16 | { | 17 | { |