diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-20 01:06:30 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 19:43:32 +0300 |
commit | 72f7c4d22ccf7c7e78aa80ea3285e77404b31913 (patch) | |
tree | 6f323df961024dcf0757465ab1ccb5cae2d50792 /tools/perf/util/xyarray.c | |
parent | 86a5e0c2028899465a129d87f60fe4018c5ae839 (diff) | |
download | linux-72f7c4d22ccf7c7e78aa80ea3285e77404b31913.tar.xz |
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/xyarray.c')
-rw-r--r-- | tools/perf/util/xyarray.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/xyarray.c b/tools/perf/util/xyarray.c index c10ba41ef3f6..7251fdbabced 100644 --- a/tools/perf/util/xyarray.c +++ b/tools/perf/util/xyarray.c @@ -1,5 +1,7 @@ #include "xyarray.h" #include "util.h" +#include <stdlib.h> +#include <string.h> struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) { |