mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
perf tools: Remove regex.h and fnmatch.h from util.h
The users of regex and fnmatch functions should include those headers instead. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-ixzm5kuamsq1ixbkuv6kmwzj@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
76b31a29dd
commit
1eae20c1d4
@ -41,6 +41,7 @@
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <regex.h>
|
||||
#include <linux/bitmap.h>
|
||||
#include <linux/stringify.h>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <regex.h>
|
||||
#include "callchain.h"
|
||||
#include "debug.h"
|
||||
#include "event.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <regex.h>
|
||||
#include <sys/mman.h>
|
||||
#include "sort.h"
|
||||
#include "hist.h"
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define __PERF_SORT_H
|
||||
#include "../builtin.h"
|
||||
|
||||
#include "util.h"
|
||||
#include <regex.h>
|
||||
|
||||
#include "color.h"
|
||||
#include <linux/list.h>
|
||||
|
@ -23,9 +23,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <signal.h>
|
||||
#include <fnmatch.h>
|
||||
#include <assert.h>
|
||||
#include <regex.h>
|
||||
#include <utime.h>
|
||||
#include <sys/wait.h>
|
||||
#include <poll.h>
|
||||
|
Loading…
Reference in New Issue
Block a user