]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf util: Kill die() prototype, dead for a long time
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Apr 2026 17:31:57 +0000 (14:31 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 9 Apr 2026 02:21:04 +0000 (19:21 -0700)
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>
tools/perf/util/util.h

index 394dbfa944ac706c4474deec56e201ba446b1a7b..e935438451b81fda79e34e03073f78e81e6a0d93 100644 (file)
@@ -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;