From: Christophe Leroy Date: Fri, 30 Aug 2024 12:28:39 +0000 (+0200) Subject: selftests: vDSO: use parse_vdso.h in vdso_test_abi X-Git-Tag: v6.12-rc1~143^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0d0dbbc101a5ed2cd844eae0c2cc0546327ef89;p=thirdparty%2Fkernel%2Flinux.git selftests: vDSO: use parse_vdso.h in vdso_test_abi Don't duplicate parse_vdso function prototypes, include the header instead. Fixes: 693f5ca08ca0 ("kselftest: Extend vDSO selftest") Signed-off-by: Christophe Leroy Acked-by: Shuah Khan Signed-off-by: Jason A. Donenfeld --- diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c index 00034208c4c64..a54424e2336f4 100644 --- a/tools/testing/selftests/vDSO/vdso_test_abi.c +++ b/tools/testing/selftests/vDSO/vdso_test_abi.c @@ -21,10 +21,7 @@ #include "../kselftest.h" #include "vdso_config.h" #include "vdso_call.h" - -extern void *vdso_sym(const char *version, const char *name); -extern void vdso_init_from_sysinfo_ehdr(uintptr_t base); -extern void vdso_init_from_auxv(void *auxv); +#include "parse_vdso.h" static const char *version; static const char **name;