summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2026-04-08 20:31:57 +0300
committerNamhyung Kim <namhyung@kernel.org>2026-04-09 05:21:04 +0300
commite5cce1b9c82fbd48e2f1f7a25a9fad8ee228176f (patch)
tree6027130b3c8ac989c0ff8df681856dbc4d50a335
parentd3e01be6daab9f76f3c8b0ffd556ed9f18275c22 (diff)
downloadlinux-e5cce1b9c82fbd48e2f1f7a25a9fad8ee228176f.tar.xz
perf util: Kill die() prototype, dead for a long time
In fef2a735167a827a ("perf tools: Kill die()") the die() function was removed, but not the prototype in util.h, now when building with LIBPERL=1, during a 'make -C tools/perf build-test' routine test, it is failing as perl likes die() calls and then this clashes with this remnant, remove it. Fixes: fef2a735167a827a ("perf tools: Kill die()") Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
-rw-r--r--tools/perf/util/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index 394dbfa944ac..e935438451b8 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -30,7 +30,6 @@ extern bool perf_guest;
/* General helper functions */
void usage(const char *err) __noreturn;
-void die(const char *err, ...) __noreturn __printf(1, 2);
struct dirent;
struct strlist;