Skip to content

Commit 1771572

Browse files
acmelgregkh
authored andcommitted
perf util: Kill die() prototype, dead for a long time
[ Upstream commit e5cce1b ] In fef2a73 ("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: fef2a73 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b5c3f32 commit 1771572

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tools/perf/util/util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ extern bool perf_guest;
2626

2727
/* General helper functions */
2828
void usage(const char *err) __noreturn;
29-
void die(const char *err, ...) __noreturn __printf(1, 2);
3029

3130
struct dirent;
3231
struct strlist;

0 commit comments

Comments
 (0)