summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libelf-getphdrnum.c
blob: 96a7f8d30a595e0e66336358c36ee490f834eaf3 (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include <libelf.h>

int main(void)
{
	size_t dst;

	return elf_getphdrnum(0, &dst);
}