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>
This commit is contained in:
Arnaldo Carvalho de Melo 2017-04-19 19:06:30 -03:00
parent 86a5e0c202
commit 72f7c4d22c
4 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,7 @@
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <linux/refcount.h>
struct comm_str {

View file

@ -11,6 +11,7 @@
#include "event.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
struct namespaces *namespaces__new(struct namespaces_event *event)
{

View file

@ -15,7 +15,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <sys/wait.h>
#include <poll.h>
#include <linux/types.h>

View file

@ -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)
{