summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2010-04-03 15:19:26 +0200
committerArnaldo Carvalho de Melo2010-04-03 15:19:26 +0200
commite206d556c5793ac5e28c0aaba2e07432e5f9a098 (patch)
tree7042affb6737531f757c0753aa3d32b3494c396b /tools/perf/util/string.h
parentperf tools: sort_dimension__add shouldn't die (diff)
downloadkernel-qcow2-linux-e206d556c5793ac5e28c0aaba2e07432e5f9a098.tar.gz
kernel-qcow2-linux-e206d556c5793ac5e28c0aaba2e07432e5f9a098.tar.xz
kernel-qcow2-linux-e206d556c5793ac5e28c0aaba2e07432e5f9a098.zip
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 @@
-#ifndef __PERF_STRING_H_
-#define __PERF_STRING_H_
-
-#include <stdbool.h>
-#include "types.h"
-
-s64 perf_atoll(const char *str);
-char **argv_split(const char *str, int *argcp);
-void argv_free(char **argv);
-bool strglobmatch(const char *str, const char *pat);
-bool strlazymatch(const char *str, const char *pat);
-
-#define _STR(x) #x
-#define STR(x) _STR(x)
-
-#endif /* __PERF_STRING_H */