aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2010-04-03 09:19:26 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-04-03 09:19:26 -0400
commite206d556c5793ac5e28c0aaba2e07432e5f9a098 (patch)
tree7042affb6737531f757c0753aa3d32b3494c396b /tools/perf/util/string.h
parent2aefa4f733f2c5ce51dd2316ffecb258463fde71 (diff)
perf tools: Move the prototypes in util/string.h to util.h
So that we avoid conflict with libc's string.h header. Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Suggested-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/string.h')
-rw-r--r--tools/perf/util/string.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/perf/util/string.h b/tools/perf/util/string.h
deleted file mode 100644
index 700582416664..000000000000
--- a/tools/perf/util/string.h
+++ /dev/null
@@ -1,16 +0,0 @@
1#ifndef __PERF_STRING_H_
2#define __PERF_STRING_H_
3
4#include <stdbool.h>
5#include "types.h"
6
7s64 perf_atoll(const char *str);
8char **argv_split(const char *str, int *argcp);
9void argv_free(char **argv);
10bool strglobmatch(const char *str, const char *pat);
11bool strlazymatch(const char *str, const char *pat);
12
13#define _STR(x) #x
14#define STR(x) _STR(x)
15
16#endif /* __PERF_STRING_H */