summaryrefslogtreecommitdiff
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-06-27 17:13:20 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-27 17:13:20 +0300
commitb211d79ac1ad43d6d8d82e7f1a5c26055a249135 (patch)
tree06a52356d5f04a20d1210d60a07d539411217aca /tools/perf/util/util.h
parentd2a74d53aa896046abcd152c03777209c57b12a2 (diff)
downloadlinux-b211d79ac1ad43d6d8d82e7f1a5c26055a249135.tar.xz
perf tools: Remove warning()
Now everything uses pr_warning(), so ditch it. 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-hv8r0mgdhk73wtfq3zrhavgx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r--tools/perf/util/util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 978572dfeb14..3927ab8df5ac 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -17,9 +17,6 @@
void usage(const char *err) __noreturn;
void die(const char *err, ...) __noreturn __printf(1, 2);
int error(const char *err, ...) __printf(1, 2);
-void warning(const char *err, ...) __printf(1, 2);
-
-void set_warning_routine(void (*routine)(const char *err, va_list params));
static inline void *zalloc(size_t size)
{