Prepare for '-Wunused-parameter'
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
CommitLineData
a9c2df2b 1/*
9d16b343 2 * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
a9c2df2b 3 *
9d16b343 4 * SPDX-License-Identifier: LGPL-2.1-or-later
a9c2df2b 5 *
a9c2df2b
FD
6 */
7
ef3dfe5d 8#include "foo.h"
a9c2df2b 9volatile int not_a_function = 0;
bcf66e7d 10
b670b304
SM
11void __attribute__ ((noinline)) test_function(void);
12void __attribute__ ((noinline)) test_function(void)
a9c2df2b
FD
13{
14 not_a_function += 1;
15}
bcf66e7d 16
f46376a1 17int main(void)
a9c2df2b
FD
18{
19 test_function();
ef3dfe5d 20 dynamic_symbol(42);
a9c2df2b
FD
21 return 0;
22}
This page took 0.032994 seconds and 4 git commands to generate.