selftests/bpf: replace "__auto_type" with "auto"
authorH. Peter Anvin <hpa@zytor.com>
Sun, 20 Jul 2025 06:46:29 +0000 (23:46 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 8 Dec 2025 23:32:15 +0000 (15:32 -0800)
commitc278d72b99ca92e4227bda70ded38e7e7a3625f8
tree99ef5dfb3d6d088742a2684e04cf7144d854d864
parent2a5b286bee941c4b8ed359de82398a1a3a19b7db
selftests/bpf: replace "__auto_type" with "auto"

Replace instances of "__auto_type" with "auto" in:

tools/testing/selftests/bpf/prog_tests/socket_helpers.h

This file does not seem to be including <linux/compiler_types.h>
directly or indirectly, so copy the definition but guard it with
!defined(auto).

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
tools/testing/selftests/bpf/prog_tests/socket_helpers.h