aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/demangle-ocaml-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/demangle-ocaml-test.c')
-rw-r--r--tools/perf/tests/demangle-ocaml-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/tests/demangle-ocaml-test.c b/tools/perf/tests/demangle-ocaml-test.c
index 0043be812355a9..90a4285e2ad547 100644
--- a/tools/perf/tests/demangle-ocaml-test.c
+++ b/tools/perf/tests/demangle-ocaml-test.c
@@ -7,7 +7,7 @@
#include "debug.h"
#include "demangle-ocaml.h"
-int test__demangle_ocaml(struct test *test __maybe_unused, int subtest __maybe_unused)
+static int test__demangle_ocaml(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
{
int ret = TEST_OK;
char *buf = NULL;
@@ -41,3 +41,5 @@ int test__demangle_ocaml(struct test *test __maybe_unused, int subtest __maybe_u
return ret;
}
+
+DEFINE_SUITE("Demangle OCaml", demangle_ocaml);