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:
parent
86a5e0c202
commit
72f7c4d22c
4 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <linux/refcount.h>
|
||||
|
||||
struct comm_str {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "event.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
struct namespaces *namespaces__new(struct namespaces_event *event)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue